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.0009074/0.0009074, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00113/0.00113, allocations: 168.7 kB / 25.61 MB, free: 8.582 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.9995/0.9995, allocations: 177.1 MB / 206 MB, free: 4.477 MB / 186.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.1457/0.1457, allocations: 34.25 MB / 296.8 MB, free: 13.93 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 1.653e-06/1.653e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.672e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.007961/0.007988, allocations: 11.5 MB / 390.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006243/0.01423, allocations: 3.755 MB / 394.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/0.01629, allocations: 71.75 kB / 394.6 MB, free: 8.016 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.01807, allocations: 1.381 MB / 396 MB, free: 6.629 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.02089, allocations: 1.836 MB / 397.8 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006643/0.02155, allocations: 466.9 kB / 398.3 MB, free: 4.328 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002929/0.02448, allocations: 3.967 MB / 402.3 MB, free: 364 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.02668, allocations: 2.153 MB / 404.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.02893, allocations: 1.875 MB / 406.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.03075, allocations: 1.933 MB / 408.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003562/0.03111, allocations: 236 kB / 408.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.03216, allocations: 0.7761 MB / 409.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009901/0.03315, allocations: 1.671 MB / 410.9 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009024/0.03405, allocations: 1 MB / 411.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003385/0.03744, allocations: 3.918 MB / 415.8 MB, free: 2.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.03744, allocations: 7.875 kB / 415.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03744, allocations: 0 / 415.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.189e-05/0.03753, allocations: 0 / 415.8 MB, free: 2.715 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.004816/0.04234, allocations: 4.35 MB / 420.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.04238, allocations: 8.031 kB / 420.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00469/0.04707, allocations: 1.836 MB / 422 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/0.04989, allocations: 1.542 MB / 423.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.05002, allocations: 189 kB / 423.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00045/0.05047, allocations: 248.2 kB / 424 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007176/0.05764, allocations: 4.709 MB / 428.7 MB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.069e-05/0.05771, allocations: 23.77 kB / 428.7 MB, free: 5.129 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003238/0.05804, allocations: 115.8 kB / 428.8 MB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001986/0.06002, allocations: 2.136 MB / 431 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0064/0.06642, allocations: 2.457 MB / 433.4 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03158/0.098, allocations: 31.64 MB / 465.1 MB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.1007, allocations: 1.165 MB / 466.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.1011, allocations: 300.8 kB / 466.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/0.1016, allocations: 408.8 kB / 466.9 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1017, allocations: 46.7 kB / 467 MB, free: 13.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=185): time 4.409e-06/0.1017, allocations: 0 / 467 MB, free: 13.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=191): time 0.009563/0.1112, allocations: 4.68 MB / 471.6 MB, free: 9.152 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.1113, allocations: 64.72 kB / 471.7 MB, free: 9.078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.1138, allocations: 2.459 MB / 474.2 MB, free: 6.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.683e-05/0.1138, allocations: 45.7 kB / 474.2 MB, free: 6.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/0.1152, allocations: 2.934 MB / 477.1 MB, free: 3.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005084/0.1157, allocations: 0.7753 MB / 477.9 MB, free: 2.785 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008985/0.1166, allocations: 1.072 MB / 479 MB, free: 1.699 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004433/0.1171, allocations: 0.5393 MB / 479.5 MB, free: 1.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007096/0.1178, allocations: 457.5 kB / 480 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/0.1207, allocations: 4.719 MB / 484.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004436/0.1251, allocations: 5.685 MB / 490.4 MB, free: 2.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.351e-05/0.1252, allocations: 28 kB / 490.4 MB, free: 2.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.004936/0.1301, allocations: 3.786 MB / 494.2 MB, free: 14.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.1302, allocations: 51.94 kB / 494.3 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.152e-05/0.1303, allocations: 100 kB / 494.3 MB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.1305, allocations: 167.7 kB / 494.5 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.1322, allocations: 1.057 MB / 495.6 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.1336, allocations: 2.006 MB / 497.6 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.1354, allocations: 188 kB / 497.8 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.1356, allocations: 260 kB / 498 MB, free: 10.66 MB / 426.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.001086/0.1367, allocations: 0.5397 MB / 498.6 MB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/0.137, allocations: 298.2 kB / 498.8 MB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.1384, allocations: 1.255 MB / 0.4884 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.1384, allocations: 23.98 kB / 0.4884 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1384, allocations: 4 kB / 0.4884 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.1384, allocations: 7.969 kB / 0.4884 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006545/0.1449, allocations: 4.769 MB / 0.4931 GB, free: 3.492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.145, allocations: 8.938 kB / 0.4931 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/0.1455, allocations: 227.6 kB / 0.4933 GB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.1456, allocations: 51.66 kB / 0.4933 GB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.1456, allocations: 40 kB / 0.4934 GB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008911/0.1465, allocations: 1.831 MB / 0.4952 GB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.1465, allocations: 15.94 kB / 0.4952 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1739/0.3205, allocations: 1.814 MB / 0.497 GB, free: 119.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004837/0.3209, allocations: 226 kB / 0.4972 GB, free: 119.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/0.3212, allocations: 43.06 kB / 0.4972 GB, free: 119.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.3216, allocations: 29.59 kB / 0.4972 GB, free: 119.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.3218, allocations: 128.3 kB / 0.4974 GB, free: 119.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.3219, allocations: 54.61 kB / 0.4974 GB, free: 119.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001037/0.3229, allocations: 0.9781 MB / 0.4984 GB, free: 119.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3229, allocations: 2.438 kB / 0.4984 GB, free: 119.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002838/0.3258, allocations: 0.8356 MB / 0.4992 GB, free: 119.2 MB / 426.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.0004213/0.3262, allocations: 189.6 kB / 0.4994 GB, free: 119.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003368/0.3295, allocations: 2.225 MB / 0.5015 GB, free: 118.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/0.3296, allocations: 0.7656 kB / 0.5015 GB, free: 118.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.3303, allocations: 0.6355 MB / 0.5022 GB, free: 118.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.3317, allocations: 278.2 kB / 0.5024 GB, free: 118.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0093/0.341, allocations: 7.095 MB / 0.5094 GB, free: 115.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.3421, allocations: 1.146 MB / 0.5105 GB, free: 115.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001111/0.3432, allocations: 383.1 kB / 0.5108 GB, free: 115.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/0.3437, allocations: 435.7 kB / 0.5113 GB, free: 115.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.003e-06/0.3437, allocations: 0 / 0.5113 GB, free: 115.3 MB / 426.7 MB Notification: Performance of Templates: time 0.03286/0.3766, allocations: 19.27 MB / 0.5301 GB, free: 98.74 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.08171915076673]