Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002568/0.002568, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003211/0.003211, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 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.606/1.606, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3387/0.3387, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.478e-05, allocations: 2.312 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.03145/0.03149, allocations: 11.74 MB / 387 MB, free: 9.184 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.04757, allocations: 3.784 MB / 390.8 MB, free: 5.387 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.04967, allocations: 71.75 kB / 390.9 MB, free: 5.316 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005875/0.05554, allocations: 1.389 MB / 392.2 MB, free: 3.922 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00848/0.06402, allocations: 1.832 MB / 394.1 MB, free: 2.082 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.06606, allocations: 463 kB / 394.5 MB, free: 1.629 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008153/0.07421, allocations: 3.964 MB / 398.5 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003412/0.07762, allocations: 2.161 MB / 400.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003205/0.08083, allocations: 1.847 MB / 402.5 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003365/0.08419, allocations: 1.968 MB / 404.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005501/0.08474, allocations: 244 kB / 404.7 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.08659, allocations: 0.78 MB / 405.5 MB, free: 6.613 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.08855, allocations: 1.679 MB / 407.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001648/0.09019, allocations: 0.9964 MB / 408.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008799/0.09899, allocations: 6.053 MB / 414.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.099, allocations: 0 / 414.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.099, allocations: 0 / 414.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001496/0.09915, allocations: 0 / 414.2 MB, free: 13.85 MB / 394.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.009503/0.1087, allocations: 4.873 MB / 419.1 MB, free: 8.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1087, allocations: 8.031 kB / 419.1 MB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.1214, allocations: 3.633 MB / 422.7 MB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005105/0.1265, allocations: 1.729 MB / 424.5 MB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.1267, allocations: 185 kB / 424.6 MB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000663/0.1273, allocations: 244.2 kB / 424.9 MB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0121/0.1394, allocations: 5.565 MB / 430.4 MB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.96e-05/0.1395, allocations: 27.77 kB / 430.5 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003931/0.1399, allocations: 119.8 kB / 430.6 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004572/0.1445, allocations: 2.463 MB / 433.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/0.1556, allocations: 3.586 MB / 436.6 MB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1882/0.3439, allocations: 40.16 MB / 476.8 MB, free: 68.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003737/0.3476, allocations: 1.294 MB / 478.1 MB, free: 68.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007111/0.3483, allocations: 385.3 kB / 478.5 MB, free: 68.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000678/0.349, allocations: 397 kB / 478.9 MB, free: 68.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.349, allocations: 52.89 kB / 478.9 MB, free: 68.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.528e-06/0.349, allocations: 3.984 kB / 478.9 MB, free: 68.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.01412/0.3632, allocations: 5.62 MB / 484.5 MB, free: 66.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.3632, allocations: 66.56 kB / 484.6 MB, free: 66.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003125/0.3663, allocations: 3.049 MB / 487.6 MB, free: 64.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-05/0.3664, allocations: 50.55 kB / 487.7 MB, free: 64.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.3677, allocations: 3.032 MB / 490.7 MB, free: 62.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.3683, allocations: 0.821 MB / 491.5 MB, free: 62.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.3696, allocations: 1.215 MB / 492.8 MB, free: 61.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3697, allocations: 0.5592 MB / 493.3 MB, free: 60.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.3709, allocations: 0.5529 MB / 493.9 MB, free: 60.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/0.3735, allocations: 4.894 MB / 498.8 MB, free: 55.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004806/0.3783, allocations: 6.021 MB / 0.493 GB, free: 48.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/0.3784, allocations: 28.25 kB / 0.493 GB, free: 48.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.006509/0.3849, allocations: 4.133 MB / 0.497 GB, free: 46.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/0.3849, allocations: 46.22 kB / 0.4971 GB, free: 46.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-05/0.385, allocations: 98.59 kB / 0.4972 GB, free: 46.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/0.3853, allocations: 180.5 kB / 0.4973 GB, free: 46.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/0.3879, allocations: 1.069 MB / 0.4984 GB, free: 46.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.3891, allocations: 2.081 MB / 0.5004 GB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/0.3915, allocations: 237.2 kB / 0.5006 GB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002955/0.3918, allocations: 289.5 kB / 0.5009 GB, free: 44.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * 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 (596): * Single equations (assignments): 589 * 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.001322/0.3931, allocations: 0.6562 MB / 0.5015 GB, free: 44.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.3935, allocations: 290.8 kB / 0.5018 GB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.3958, allocations: 1.485 MB / 0.5033 GB, free: 43.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/0.3958, allocations: 25.03 kB / 0.5033 GB, free: 43.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3958, allocations: 0 / 0.5033 GB, free: 43.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.3958, allocations: 6.844 kB / 0.5033 GB, free: 43.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009209/0.4051, allocations: 6.015 MB / 0.5092 GB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.4051, allocations: 19.62 kB / 0.5092 GB, free: 40 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008792/0.4059, allocations: 248.8 kB / 0.5094 GB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/0.4061, allocations: 54.48 kB / 0.5095 GB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-05/0.4062, allocations: 43.2 kB / 0.5095 GB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008783/0.407, allocations: 1.906 MB / 0.5114 GB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.4071, allocations: 15.94 kB / 0.5114 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.4097, allocations: 2.063 MB / 0.5134 GB, free: 35.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/0.4101, allocations: 232.8 kB / 0.5136 GB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.4104, allocations: 46.95 kB / 0.5137 GB, free: 35.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007951/0.4112, allocations: 68.77 kB / 0.5138 GB, free: 35.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.4113, allocations: 127.2 kB / 0.5139 GB, free: 35.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.4114, allocations: 67.98 kB / 0.5139 GB, free: 35.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001407/0.4129, allocations: 1.242 MB / 0.5152 GB, free: 34.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4129, allocations: 0 / 0.5152 GB, free: 34.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003368/0.4162, allocations: 0.8354 MB / 0.516 GB, free: 33.22 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.0003667/0.4166, allocations: 193.2 kB / 0.5162 GB, free: 33.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003882/0.4205, allocations: 2.566 MB / 0.5187 GB, free: 30.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.4205, allocations: 4 kB / 0.5187 GB, free: 30.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009288/0.4214, allocations: 0.7478 MB / 0.5194 GB, free: 30.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.4229, allocations: 256.8 kB / 0.5196 GB, free: 29.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009582/0.4324, allocations: 7.226 MB / 0.5267 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002583/0.435, allocations: 2.268 MB / 0.5289 GB, free: 21.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00317/0.4382, allocations: 1.443 MB / 0.5303 GB, free: 20.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.4386, allocations: 180.6 kB / 0.5305 GB, free: 20.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.004e-06/0.4386, allocations: 0 / 0.5305 GB, free: 20.3 MB / 410.7 MB Notification: Performance of Templates: time 0.03487/0.4735, allocations: 16.64 MB / 0.5467 GB, free: 5.969 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.571095244958997]