Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 171 kB / 24.91 MB, free: 9.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2897/0.2897, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.284e-05, allocations: 3.781 kB / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003912/0.003945, allocations: 2.328 MB / 327.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.006145, allocations: 0.9788 MB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006464/0.006792, allocations: 11.88 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.007255, allocations: 115.2 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.00755, allocations: 99.34 kB / 328.8 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008806/0.00843, allocations: 303.3 kB / 329.1 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009254/0.009356, allocations: 0.725 MB / 329.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.009538, allocations: 45.92 kB / 329.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006664/0.0102, allocations: 391.2 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/0.01072, allocations: 295.1 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.01084, allocations: 64 kB / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.671e-05/0.01093, allocations: 63.94 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.01114, allocations: 203.4 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.01132, allocations: 184.1 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.0119, allocations: 454.5 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.0119, allocations: 3.938 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0119, allocations: 0 / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.01191, allocations: 0 / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001609/0.01352, allocations: 0.7926 MB / 332.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.01357, allocations: 12.03 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.01375, allocations: 92.88 kB / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.01426, allocations: 264.4 kB / 332.6 MB, free: 264 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004794/0.01474, allocations: 0.6552 MB / 333.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/0.01483, allocations: 48.38 kB / 333.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009547/0.01578, allocations: 0.5236 MB / 333.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.01581, allocations: 4.188 kB / 333.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.01586, allocations: 20.12 kB / 333.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.01588, allocations: 12 kB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00081/0.01669, allocations: 351 kB / 334.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005181/0.02187, allocations: 1.42 MB / 335.6 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.0229, allocations: 448.6 kB / 336.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.02316, allocations: 134.8 kB / 336.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.218e-05/0.02324, allocations: 8.562 kB / 336.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.02327, allocations: 43.69 kB / 336.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 3.096e-06/0.02327, allocations: 0 / 336.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.02261/0.04589, allocations: 7.698 MB / 343.9 MB, free: 4.559 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.04593, allocations: 90.11 kB / 344 MB, free: 4.453 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.04614, allocations: 331.1 kB / 344.4 MB, free: 4.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.875e-05/0.04624, allocations: 45.7 kB / 344.4 MB, free: 4.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.04632, allocations: 194 kB / 344.6 MB, free: 3.875 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.04656, allocations: 420.3 kB / 345 MB, free: 3.461 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/0.04686, allocations: 198.8 kB / 345.2 MB, free: 3.262 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.04697, allocations: 382.6 kB / 345.6 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.04746, allocations: 421.4 kB / 346 MB, free: 2.465 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.04801, allocations: 0.576 MB / 346.6 MB, free: 1.844 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009716/0.04898, allocations: 1.005 MB / 347.6 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.04898, allocations: 7.938 kB / 347.6 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00126/0.05024, allocations: 1.084 MB / 348.6 MB, free: 15.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.05026, allocations: 6.344 kB / 348.7 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.05027, allocations: 7.828 kB / 348.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.05029, allocations: 8 kB / 348.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.05131, allocations: 363.8 kB / 349 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.05132, allocations: 8 kB / 349 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006467/0.05197, allocations: 163.8 kB / 349.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/0.05204, allocations: 31.98 kB / 349.2 MB, free: 15.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (integrator.local_reset,integrator1.local_reset,integrator2.local_reset,integrator3.local_reset,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP2a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.05229, allocations: 184.3 kB / 349.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.05247, allocations: 79.94 kB / 349.5 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.546e-05/0.05256, allocations: 104.7 kB / 349.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.05257, allocations: 12 kB / 349.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.05258, allocations: 0 / 349.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.05258, allocations: 3.984 kB / 349.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/0.05601, allocations: 2.598 MB / 352.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.05602, allocations: 24 kB / 352.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.0566, allocations: 299.5 kB / 352.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.696e-05/0.05661, allocations: 28.38 kB / 352.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.05666, allocations: 48 kB / 352.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.107e-05/0.05668, allocations: 43.8 kB / 352.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.567e-05/0.0567, allocations: 35.88 kB / 352.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.05802, allocations: 1.622 MB / 354.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.05822, allocations: 103.5 kB / 354.4 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.05829, allocations: 55.97 kB / 354.4 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.05876, allocations: 135.8 kB / 354.6 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/0.059, allocations: 207.2 kB / 354.8 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.05905, allocations: 52 kB / 354.8 MB, free: 8.895 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.784e-05/0.05915, allocations: 120.7 kB / 354.9 MB, free: 8.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05915, allocations: 0 / 354.9 MB, free: 8.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005489/0.0597, allocations: 232 kB / 355.2 MB, free: 8.551 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001655/0.05986, allocations: 159.8 kB / 355.3 MB, free: 8.383 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.06087, allocations: 0.8989 MB / 356.2 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.06089, allocations: 8 kB / 356.2 MB, free: 7.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.06125, allocations: 348.5 kB / 356.6 MB, free: 7.137 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.06195, allocations: 219.8 kB / 356.8 MB, free: 6.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.0638, allocations: 1.75 MB / 358.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.06393, allocations: 180.9 kB / 358.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005066/0.06444, allocations: 161.9 kB / 358.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/0.06499, allocations: 183.3 kB / 359.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.06499, allocations: 4 kB / 359.1 MB, free: 4.305 MB / 330.7 MB Notification: Performance of Templates: time 0.01989/0.08488, allocations: 19.24 MB / 378.3 MB, free: 1.199 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.349975088145584]