Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001294/0.001294, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001934/0.003228, allocations: 452 kB / 10.43 MB, free: 264 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.0007853/0.0007853, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001847, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8769/0.8769, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1886/1.065, allocations: 49.49 MB / 220.7 MB, free: 1.367 MB / 218.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.1299/0.1299, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02032/0.1502, allocations: 12.31 MB / 266.1 MB, free: 3.879 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.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.562e-05, allocations: 10.19 kB / 267.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.008451/0.008476, allocations: 12.01 MB / 279.4 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00583/0.01431, allocations: 3.967 MB / 283.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009543/0.01526, allocations: 71.75 kB / 283.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.01669, allocations: 1.385 MB / 284.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1319/0.1485, allocations: 1.875 MB / 286.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.1496, allocations: 424.6 kB / 287.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004951/0.1546, allocations: 3.918 MB / 291 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.1568, allocations: 1.946 MB / 293 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/0.1593, allocations: 1.974 MB / 295 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.1616, allocations: 1.849 MB / 296.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000526/0.1621, allocations: 244.6 kB / 297.1 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1633, allocations: 0.8166 MB / 297.9 MB, free: 1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009452/0.1642, allocations: 1.565 MB / 299.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009368/0.1652, allocations: 0.8561 MB / 300.3 MB, free: 376 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.1682, allocations: 3.811 MB / 304.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.1682, allocations: 0.7812 kB / 304.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1682, allocations: 0 / 304.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001282/0.1684, allocations: 2.75 kB / 304.1 MB, free: 15.19 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.004451/0.1728, allocations: 4.644 MB / 308.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1728, allocations: 8.031 kB / 308.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003543/0.1764, allocations: 1.482 MB / 310.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.1781, allocations: 1.435 MB / 311.7 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.1782, allocations: 196.2 kB / 311.9 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.1785, allocations: 253 kB / 312.1 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004824/0.1834, allocations: 4.446 MB / 316.6 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.783e-05/0.1834, allocations: 25.42 kB / 316.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/0.1836, allocations: 126.7 kB / 316.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001866/0.1855, allocations: 2.088 MB / 318.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004264/0.1898, allocations: 2.533 MB / 321.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01893/0.2087, allocations: 24.45 MB / 345.8 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.2107, allocations: 1.195 MB / 347 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.211, allocations: 254 kB / 347.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004118/0.2114, allocations: 406.5 kB / 347.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.2114, allocations: 47.88 kB / 347.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=187): time 3.497e-06/0.2114, allocations: 0 / 347.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=193): time 0.008951/0.2204, allocations: 4.689 MB / 352.4 MB, free: 0.793 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.2204, allocations: 96.95 kB / 352.5 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.2225, allocations: 2.255 MB / 354.7 MB, free: 14.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-05/0.2226, allocations: 51.19 kB / 354.8 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.224, allocations: 2.768 MB / 357.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005124/0.2245, allocations: 0.7303 MB / 358.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009539/0.2255, allocations: 0.9239 MB / 359.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2256, allocations: 368.9 kB / 359.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.2267, allocations: 0.6066 MB / 360.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/0.2293, allocations: 3.422 MB / 363.6 MB, free: 4.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/0.2337, allocations: 4.795 MB / 368.4 MB, free: 15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-05/0.2337, allocations: 28 kB / 368.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=666) (initialization): time 0.004358/0.2381, allocations: 3.257 MB / 371.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.2381, allocations: 48 kB / 371.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/0.2383, allocations: 120.3 kB / 371.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/0.2385, allocations: 165.4 kB / 372 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/0.2411, allocations: 1.209 MB / 373.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.2423, allocations: 1.482 MB / 374.7 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.2443, allocations: 199.1 kB / 374.9 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003032/0.2446, allocations: 252 kB / 375.1 MB, free: 8.152 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 27 (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 (614): * Single equations (assignments): 607 * 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.001018/0.2456, allocations: 0.5201 MB / 375.6 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/0.2459, allocations: 171.8 kB / 375.8 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.2473, allocations: 1.041 MB / 376.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.2473, allocations: 16 kB / 376.8 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2473, allocations: 4 kB / 376.9 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.2473, allocations: 7.969 kB / 376.9 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005434/0.2528, allocations: 4.136 MB / 381 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/0.2528, allocations: 20 kB / 381 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/0.2536, allocations: 259.6 kB / 381.3 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004775/0.254, allocations: 358.1 kB / 381.6 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.2541, allocations: 36.84 kB / 381.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.327e-05/0.2542, allocations: 47.97 kB / 381.7 MB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009761/0.2552, allocations: 1.417 MB / 383.1 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/0.2552, allocations: 19.88 kB / 383.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.257, allocations: 1.544 MB / 384.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.2572, allocations: 35.98 kB / 384.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005663/0.2578, allocations: 35.94 kB / 384.8 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.258, allocations: 124.6 kB / 384.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-05/0.2581, allocations: 59.97 kB / 384.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000831/0.2589, allocations: 0.7924 MB / 385.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2589, allocations: 0 / 385.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002829/0.2617, allocations: 0.8788 MB / 386.6 MB, free: 12.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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.0003846/0.2621, allocations: 183.9 kB / 386.8 MB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00241/0.2645, allocations: 2.136 MB / 388.9 MB, free: 9.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001326/0.2647, allocations: 83.91 kB / 389 MB, free: 9.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004426/0.2691, allocations: 1.087 MB / 390.1 MB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004771/0.2739, allocations: 1.503 MB / 391.6 MB, free: 7.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01973/0.2936, allocations: 7.343 MB / 398.9 MB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004205/0.2978, allocations: 1.151 MB / 400.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00108/0.2989, allocations: 376 kB / 400.5 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006034/0.2995, allocations: 385.3 kB / 400.8 MB, free: 13.61 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2995, allocations: 0 / 400.8 MB, free: 13.61 MB / 394.7 MB Notification: Performance of Templates: time 0.05851/0.358, allocations: 17.83 MB / 418.7 MB, free: 11.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2332614827901125]