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.0009437/0.0009437, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001018/0.001018, allocations: 171.5 kB / 24.91 MB, free: 8.723 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 0.9244/0.9244, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] 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.2532/0.2532, allocations: 32.81 MB / 294.6 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 1.733e-06/1.733e-06, allocations: 3.938 kB / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.466e-05, allocations: 5.438 kB / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.009063/0.009088, allocations: 11.55 MB / 334.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009244/0.01833, allocations: 3.909 MB / 338.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002838/0.02117, allocations: 67.75 kB / 338.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003381/0.02455, allocations: 1.381 MB / 340.2 MB, free: 8.684 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005314/0.02986, allocations: 1.812 MB / 342 MB, free: 6.863 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.03113, allocations: 462.9 kB / 342.4 MB, free: 6.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005385/0.03652, allocations: 3.968 MB / 346.4 MB, free: 2.438 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002637/0.03915, allocations: 2.114 MB / 348.5 MB, free: 284 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.04166, allocations: 1.843 MB / 350.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.04413, allocations: 1.831 MB / 352.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005885/0.04472, allocations: 240 kB / 352.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.04614, allocations: 0.7957 MB / 353.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001468/0.04761, allocations: 1.675 MB / 354.9 MB, free: 9.883 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.04872, allocations: 0.9925 MB / 355.9 MB, free: 8.887 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003845/0.05256, allocations: 3.926 MB / 359.8 MB, free: 4.945 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.05257, allocations: 0 / 359.8 MB, free: 4.945 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.05257, allocations: 0 / 359.8 MB, free: 4.945 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001262/0.05269, allocations: 0 / 359.8 MB, free: 4.945 MB / 330.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.004379/0.05707, allocations: 3.763 MB / 363.6 MB, free: 1.133 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.05711, allocations: 8.031 kB / 363.6 MB, free: 1.125 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004055/0.06117, allocations: 1.397 MB / 365 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.06347, allocations: 1.394 MB / 366.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.06359, allocations: 189 kB / 366.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004501/0.06404, allocations: 244.2 kB / 366.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006656/0.07069, allocations: 4.368 MB / 371.2 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.76e-05/0.07076, allocations: 35.69 kB / 371.2 MB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.07101, allocations: 115.8 kB / 371.3 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00203/0.07304, allocations: 2.128 MB / 373.5 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006251/0.07929, allocations: 2.497 MB / 376 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02587/0.1052, allocations: 23.79 MB / 399.7 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.1075, allocations: 1.188 MB / 400.9 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.1079, allocations: 242.6 kB / 401.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004165/0.1083, allocations: 408.5 kB / 401.6 MB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1083, allocations: 43.88 kB / 401.6 MB, free: 9.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 4.308e-06/0.1083, allocations: 0 / 401.6 MB, free: 9.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=191): time 0.008953/0.1173, allocations: 4.302 MB / 405.9 MB, free: 5.457 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1173, allocations: 76.64 kB / 406 MB, free: 5.367 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.1192, allocations: 2.212 MB / 408.2 MB, free: 3.121 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.221e-05/0.1193, allocations: 45.7 kB / 408.2 MB, free: 3.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.1207, allocations: 2.691 MB / 410.9 MB, free: 360 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004053/0.1211, allocations: 0.7284 MB / 411.7 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007052/0.1218, allocations: 0.9026 MB / 412.6 MB, free: 14.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1219, allocations: 357.8 kB / 412.9 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008611/0.1227, allocations: 0.5906 MB / 413.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.125, allocations: 3.341 MB / 416.8 MB, free: 8.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/0.1281, allocations: 4.366 MB / 421.2 MB, free: 3.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.645e-05/0.1282, allocations: 31.94 kB / 421.2 MB, free: 3.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.003737/0.1319, allocations: 3.175 MB / 424.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.298e-05/0.1319, allocations: 50.19 kB / 424.5 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.116e-05/0.132, allocations: 100 kB / 424.6 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.1322, allocations: 164.9 kB / 424.7 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.134, allocations: 1.1 MB / 425.8 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009763/0.135, allocations: 1.484 MB / 427.3 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.1366, allocations: 184 kB / 427.5 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002308/0.1368, allocations: 252 kB / 427.7 MB, free: 12.56 MB / 410.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.001114/0.138, allocations: 0.5123 MB / 428.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/0.1382, allocations: 175.7 kB / 428.4 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.1395, allocations: 1.028 MB / 429.4 MB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.1395, allocations: 23.98 kB / 429.5 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1395, allocations: 8.125 kB / 429.5 MB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.1395, allocations: 11.97 kB / 429.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004865/0.1444, allocations: 3.971 MB / 433.5 MB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.1444, allocations: 11.98 kB / 433.5 MB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.145, allocations: 243.8 kB / 433.7 MB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.1451, allocations: 40.78 kB / 433.7 MB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.65e-05/0.1451, allocations: 43.98 kB / 433.8 MB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008878/0.146, allocations: 1.418 MB / 435.2 MB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.146, allocations: 15.97 kB / 435.2 MB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.1477, allocations: 1.508 MB / 436.7 MB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/0.148, allocations: 222.3 kB / 436.9 MB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.1481, allocations: 44.02 kB / 437 MB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.1485, allocations: 35.94 kB / 437 MB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.1487, allocations: 120.5 kB / 437.1 MB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.526e-05/0.1487, allocations: 63.92 kB / 437.2 MB, free: 2.543 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006803/0.1494, allocations: 0.7711 MB / 438 MB, free: 1.754 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1494, allocations: 0 / 438 MB, free: 1.754 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002574/0.152, allocations: 0.8319 MB / 438.8 MB, free: 0.9219 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.0003492/0.1523, allocations: 179.9 kB / 439 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002497/0.1548, allocations: 2.007 MB / 441 MB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.619e-05/0.1549, allocations: 59.94 kB / 441 MB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.1555, allocations: 0.5114 MB / 441.6 MB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000981/0.1565, allocations: 276.3 kB / 441.8 MB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.1665, allocations: 7.26 MB / 449.1 MB, free: 6.414 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.1676, allocations: 1.129 MB / 450.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009923/0.1686, allocations: 379.5 kB / 450.6 MB, free: 4.891 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005353/0.1692, allocations: 413.2 kB / 451 MB, free: 4.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/0.1692, allocations: 0 / 451 MB, free: 4.48 MB / 426.7 MB Notification: Performance of Templates: time 0.1604/0.3296, allocations: 18.8 MB / 469.8 MB, free: 122.7 MB / 426.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 -s gbode -gbm=radauIIA3 -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","",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.8116669678129256]