Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.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.0007593/0.0007593, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001761, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006832/0.0006832, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009062/0.001589, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.045/1.045, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.147/1.192, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.3242/0.3242, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03587/0.3601, allocations: 13.11 MB / 291.5 MB, free: 7.32 MB / 282.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.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 7.875 kB / 292.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.225e-05, allocations: 4.141 kB / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.009778/0.00981, allocations: 11.64 MB / 304.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008008/0.01782, allocations: 3.948 MB / 308.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.01993, allocations: 71.75 kB / 308.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002513/0.02245, allocations: 1.374 MB / 309.9 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00426/0.02671, allocations: 1.82 MB / 311.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.02759, allocations: 415 kB / 312.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005097/0.03269, allocations: 3.914 MB / 316 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003268/0.03596, allocations: 1.908 MB / 317.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004054/0.04001, allocations: 1.913 MB / 319.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.04268, allocations: 1.816 MB / 321.7 MB, free: 9.207 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009978/0.04368, allocations: 240 kB / 321.9 MB, free: 8.973 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.04547, allocations: 0.7995 MB / 322.7 MB, free: 8.172 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.04706, allocations: 1.5 MB / 324.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002309/0.04937, allocations: 0.8136 MB / 325 MB, free: 5.852 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005908/0.05528, allocations: 3.68 MB / 328.7 MB, free: 2.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.246e-05/0.0553, allocations: 0 / 328.7 MB, free: 2.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.0553, allocations: 0 / 328.7 MB, free: 2.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002317/0.05554, allocations: 0 / 328.7 MB, free: 2.156 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.005408/0.06094, allocations: 4.478 MB / 333.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.061, allocations: 8.031 kB / 333.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00413/0.06513, allocations: 1.469 MB / 334.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.06728, allocations: 1.394 MB / 336 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.06739, allocations: 185 kB / 336.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003222/0.06771, allocations: 248.2 kB / 336.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005022/0.07273, allocations: 4.375 MB / 340.8 MB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.794e-05/0.07279, allocations: 23.77 kB / 340.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.07301, allocations: 119.8 kB / 341 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001916/0.07492, allocations: 2.019 MB / 343 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005406/0.08033, allocations: 2.481 MB / 345.5 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02961/0.1099, allocations: 23.81 MB / 369.3 MB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/0.1129, allocations: 1.163 MB / 370.5 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.1133, allocations: 243.1 kB / 370.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00049/0.1138, allocations: 404.5 kB / 371.1 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.1138, allocations: 47.88 kB / 371.1 MB, free: 6.328 MB / 362.7 MB Notification: Performance of pre-optimization done (n=185): time 6.723e-06/0.1138, allocations: 0 / 371.1 MB, free: 6.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=191): time 0.009762/0.1236, allocations: 4.692 MB / 375.8 MB, free: 1.605 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1236, allocations: 68.72 kB / 375.9 MB, free: 1.523 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.1258, allocations: 2.208 MB / 378.1 MB, free: 15.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.995e-05/0.1258, allocations: 53.69 kB / 378.2 MB, free: 15.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.1271, allocations: 2.68 MB / 380.8 MB, free: 12.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004351/0.1275, allocations: 0.7245 MB / 381.6 MB, free: 11.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007637/0.1283, allocations: 0.9104 MB / 382.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1284, allocations: 361.8 kB / 382.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008994/0.1293, allocations: 0.5945 MB / 383.4 MB, free: 9.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.1316, allocations: 3.326 MB / 386.7 MB, free: 5.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004023/0.1356, allocations: 4.686 MB / 391.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.385e-05/0.1357, allocations: 31.94 kB / 391.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.004448/0.1401, allocations: 3.179 MB / 394.6 MB, free: 11.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.1402, allocations: 48 kB / 394.7 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001228/0.1403, allocations: 116 kB / 394.8 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/0.1406, allocations: 169.5 kB / 395 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/0.143, allocations: 1.174 MB / 396.1 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.1444, allocations: 1.472 MB / 397.6 MB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/0.1471, allocations: 188 kB / 397.8 MB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002839/0.1474, allocations: 260 kB / 398 MB, free: 8.309 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 458 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 594 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001745/0.1492, allocations: 0.4929 MB / 398.5 MB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/0.1496, allocations: 179.8 kB / 398.7 MB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.1509, allocations: 1.028 MB / 399.7 MB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.1509, allocations: 19.94 kB / 399.8 MB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1509, allocations: 4 kB / 399.8 MB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.1509, allocations: 7.969 kB / 399.8 MB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006543/0.1574, allocations: 3.986 MB / 403.8 MB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-05/0.1575, allocations: 20 kB / 403.8 MB, free: 2.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/0.1581, allocations: 255.6 kB / 404 MB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/0.1587, allocations: 230.2 kB / 404.3 MB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/0.1588, allocations: 48.89 kB / 404.3 MB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/0.1589, allocations: 39.98 kB / 404.3 MB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.16, allocations: 1.404 MB / 405.7 MB, free: 272 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.16, allocations: 11.94 kB / 405.8 MB, free: 260 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.1617, allocations: 1.528 MB / 407.3 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.162, allocations: 35.98 kB / 407.3 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004949/0.1625, allocations: 35.94 kB / 407.4 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.1627, allocations: 124.6 kB / 407.5 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.338e-05/0.1628, allocations: 52.17 kB / 407.5 MB, free: 14.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007658/0.1635, allocations: 0.7712 MB / 408.3 MB, free: 13.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1635, allocations: 0 / 408.3 MB, free: 13.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003032/0.1666, allocations: 0.8397 MB / 409.1 MB, free: 12.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004318/0.167, allocations: 180 kB / 409.3 MB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003101/0.1701, allocations: 2.098 MB / 411.4 MB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001335/0.1702, allocations: 74.38 kB / 411.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.172, allocations: 1.061 MB / 412.5 MB, free: 9.238 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.1738, allocations: 1.541 MB / 414.1 MB, free: 7.504 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.1852, allocations: 7.144 MB / 421.2 MB, free: 156 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.1863, allocations: 1.121 MB / 422.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001177/0.1875, allocations: 371.5 kB / 422.7 MB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005048/0.188, allocations: 385.2 kB / 423.1 MB, free: 14.27 MB / 426.7 MB Notification: Performance of SimCode: time 2.796e-06/0.188, allocations: 0 / 423.1 MB, free: 14.27 MB / 426.7 MB Notification: Performance of Templates: time 0.2132/0.4012, allocations: 17.51 MB / 440.6 MB, free: 108.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.722193256020546]