Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001288/0.001288, allocations: 76.06 kB / 20.72 MB, free: 3.762 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.0009989/0.0009989, allocations: 169 kB / 24.14 MB, free: 352 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9098/0.9098, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1366/0.1366, allocations: 32.39 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 4 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.449e-05, allocations: 2.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.1391/0.1391, allocations: 2.359 MB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.1412, allocations: 0.9908 MB / 302.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.1414, allocations: 12.62 kB / 302.5 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.1417, allocations: 111 kB / 302.6 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.142, allocations: 109.8 kB / 302.7 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.1427, allocations: 298.3 kB / 303 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000793/0.1435, allocations: 0.7322 MB / 303.7 MB, free: 18.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1436, allocations: 48.19 kB / 303.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005318/0.1441, allocations: 402.7 kB / 304.1 MB, free: 18.55 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003995/0.1445, allocations: 290 kB / 304.4 MB, free: 18.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.1447, allocations: 63.09 kB / 304.5 MB, free: 18.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-05/0.1447, allocations: 62.84 kB / 304.5 MB, free: 18.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.1449, allocations: 199.8 kB / 304.7 MB, free: 18.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.1451, allocations: 181 kB / 304.9 MB, free: 18.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004968/0.1456, allocations: 464.8 kB / 305.4 MB, free: 18.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1456, allocations: 0.7812 kB / 305.4 MB, free: 18.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1456, allocations: 1.094 kB / 305.4 MB, free: 18.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.1456, allocations: 0.5312 kB / 305.4 MB, free: 18.09 MB / 282.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.00122/0.1468, allocations: 0.7937 MB / 306.2 MB, free: 17.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1468, allocations: 14.44 kB / 306.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.147, allocations: 98.64 kB / 306.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.1473, allocations: 253.6 kB / 306.5 MB, free: 17.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/0.1476, allocations: 0.6605 MB / 307.2 MB, free: 16.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/0.1476, allocations: 39.16 kB / 307.2 MB, free: 16.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/0.1484, allocations: 0.532 MB / 307.8 MB, free: 16.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.1484, allocations: 3.047 kB / 307.8 MB, free: 16.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.1484, allocations: 21.16 kB / 307.8 MB, free: 16.44 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1484, allocations: 9.875 kB / 307.8 MB, free: 16.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005889/0.149, allocations: 342.4 kB / 308.1 MB, free: 16.4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.1503, allocations: 1.435 MB / 309.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006971/0.151, allocations: 445.4 kB / 310 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.1512, allocations: 136.7 kB / 310.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.1512, allocations: 11.78 kB / 310.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1512, allocations: 42.84 kB / 310.2 MB, free: 15.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 1.633e-06/0.1513, allocations: 0 / 310.2 MB, free: 15.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.01677/0.168, allocations: 7.71 MB / 317.9 MB, free: 11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1681, allocations: 90.11 kB / 318 MB, free: 10.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1682, allocations: 327.2 kB / 318.3 MB, free: 10.56 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/0.1683, allocations: 49.7 kB / 318.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.1684, allocations: 194 kB / 318.5 MB, free: 10.31 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.1686, allocations: 424.3 kB / 318.9 MB, free: 9.895 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/0.1689, allocations: 202.8 kB / 319.1 MB, free: 9.691 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.1689, allocations: 374.6 kB / 319.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.1694, allocations: 429.4 kB / 319.9 MB, free: 8.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/0.1699, allocations: 0.5643 MB / 320.5 MB, free: 8.285 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/0.1707, allocations: 0.9962 MB / 321.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1707, allocations: 7.938 kB / 321.5 MB, free: 7.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001142/0.1719, allocations: 1.089 MB / 322.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1719, allocations: 8 kB / 322.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1719, allocations: 6.266 kB / 322.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1719, allocations: 12 kB / 322.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.173, allocations: 371.4 kB / 323 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.173, allocations: 8 kB / 323 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/0.1737, allocations: 167.8 kB / 323.2 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.676e-05/0.1737, allocations: 27.98 kB / 323.2 MB, free: 5.551 MB / 282.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.0002093/0.174, allocations: 184.3 kB / 323.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.1741, allocations: 79.94 kB / 323.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.102e-05/0.1742, allocations: 108.7 kB / 323.5 MB, free: 5.172 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1742, allocations: 12 kB / 323.6 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1742, allocations: 0 / 323.6 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1742, allocations: 3.984 kB / 323.6 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.1772, allocations: 2.597 MB / 326.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.1772, allocations: 20 kB / 326.2 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.1777, allocations: 316.2 kB / 326.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/0.1777, allocations: 28 kB / 326.5 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.1778, allocations: 51.94 kB / 326.6 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-05/0.1778, allocations: 44.98 kB / 326.6 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/0.1778, allocations: 27.88 kB / 326.6 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1789, allocations: 1.625 MB / 328.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.1791, allocations: 103.5 kB / 328.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.1791, allocations: 47.98 kB / 328.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.1796, allocations: 139.8 kB / 328.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.1799, allocations: 211.2 kB / 328.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.1799, allocations: 48 kB / 328.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.18, allocations: 128.7 kB / 328.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.18, allocations: 0 / 328.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006146/0.1806, allocations: 232 kB / 329.1 MB, free: 14.96 MB / 298.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.0001633/0.1808, allocations: 147.9 kB / 329.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.1819, allocations: 0.9118 MB / 330.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-05/0.182, allocations: 8 kB / 330.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.1824, allocations: 356.4 kB / 330.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000757/0.1831, allocations: 207.5 kB / 330.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.1852, allocations: 1.741 MB / 332.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.1854, allocations: 185 kB / 332.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005484/0.186, allocations: 165.9 kB / 332.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005928/0.1866, allocations: 179.3 kB / 333 MB, free: 10.74 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1866, allocations: 0 / 333 MB, free: 10.74 MB / 298.7 MB Notification: Performance of Templates: time 0.0199/0.2065, allocations: 19.36 MB / 352.4 MB, free: 7.406 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.176068984437734]