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.001384/0.001384, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009187/0.0009187, allocations: 170 kB / 24.91 MB, free: 9.191 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.8724/0.8724, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2551/0.2551, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.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.383e-06/1.383e-06, allocations: 0 / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.201e-05, allocations: 3.891 kB / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01174/0.01175, allocations: 11.51 MB / 336.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007279/0.01903, allocations: 3.906 MB / 340.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.02012, allocations: 71.75 kB / 340.7 MB, free: 8.129 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.02238, allocations: 1.389 MB / 342.1 MB, free: 6.734 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.02492, allocations: 1.847 MB / 344 MB, free: 4.879 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006582/0.02557, allocations: 467 kB / 344.4 MB, free: 4.422 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002831/0.0284, allocations: 3.962 MB / 348.4 MB, free: 464 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.03051, allocations: 2.219 MB / 350.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.03247, allocations: 1.874 MB / 352.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.03428, allocations: 1.835 MB / 354.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003677/0.03465, allocations: 240 kB / 354.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009371/0.03559, allocations: 0.7645 MB / 355.3 MB, free: 9.461 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00099/0.03658, allocations: 1.671 MB / 357 MB, free: 7.785 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009616/0.03754, allocations: 1 MB / 358 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.0405, allocations: 3.922 MB / 361.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.0405, allocations: 0 / 361.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.0405, allocations: 0 / 361.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001007/0.04061, allocations: 0 / 361.9 MB, free: 2.844 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.003588/0.04419, allocations: 3.764 MB / 365.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.04422, allocations: 8.031 kB / 365.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003334/0.04756, allocations: 1.393 MB / 367.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.04909, allocations: 1.402 MB / 368.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-05/0.04918, allocations: 185 kB / 368.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/0.04948, allocations: 244.2 kB / 368.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004066/0.05355, allocations: 4.368 MB / 373.3 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.392e-05/0.0536, allocations: 31.73 kB / 373.3 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002179/0.05382, allocations: 119.8 kB / 373.4 MB, free: 6.816 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001741/0.05556, allocations: 2.14 MB / 375.6 MB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003513/0.05908, allocations: 2.489 MB / 378.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01902/0.07809, allocations: 23.79 MB / 401.8 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/0.08016, allocations: 1.19 MB / 403 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.08047, allocations: 239.1 kB / 403.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000425/0.0809, allocations: 400.5 kB / 403.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.08093, allocations: 51.88 kB / 403.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 3.586e-06/0.08093, allocations: 0 / 403.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=191): time 0.007253/0.08818, allocations: 4.302 MB / 408 MB, free: 3.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.08822, allocations: 64.72 kB / 408.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.08963, allocations: 2.215 MB / 410.3 MB, free: 1.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.0897, allocations: 45.7 kB / 410.3 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.09094, allocations: 2.687 MB / 413 MB, free: 14.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.09129, allocations: 0.7245 MB / 413.7 MB, free: 13.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006414/0.09193, allocations: 0.9064 MB / 414.7 MB, free: 12.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.09202, allocations: 357.8 kB / 415 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007862/0.09281, allocations: 0.6023 MB / 415.6 MB, free: 11.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/0.09503, allocations: 3.333 MB / 418.9 MB, free: 6.895 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003085/0.09811, allocations: 4.366 MB / 423.3 MB, free: 1.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-05/0.09814, allocations: 31.94 kB / 423.3 MB, free: 1.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.002843/0.101, allocations: 3.171 MB / 426.5 MB, free: 13.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.101, allocations: 48.22 kB / 426.6 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.759e-05/0.1011, allocations: 112 kB / 426.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.1013, allocations: 160.8 kB / 426.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.1028, allocations: 1.049 MB / 427.9 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008093/0.1036, allocations: 1.48 MB / 429.3 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.1048, allocations: 188 kB / 429.5 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/0.105, allocations: 256 kB / 429.8 MB, free: 10.51 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.0008745/0.1059, allocations: 0.5006 MB / 430.3 MB, free: 10 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.1061, allocations: 171.8 kB / 430.4 MB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.1074, allocations: 1.036 MB / 431.5 MB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.1074, allocations: 20 kB / 431.5 MB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1074, allocations: 4 kB / 431.5 MB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.1074, allocations: 7.969 kB / 431.5 MB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.1115, allocations: 3.99 MB / 435.5 MB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.1115, allocations: 8 kB / 435.5 MB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.112, allocations: 223.7 kB / 435.7 MB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.745e-05/0.1121, allocations: 45.38 kB / 435.8 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/0.1121, allocations: 47.92 kB / 435.8 MB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007406/0.1129, allocations: 1.41 MB / 437.2 MB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.1129, allocations: 15.94 kB / 437.2 MB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.1144, allocations: 1.508 MB / 438.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.1146, allocations: 222.3 kB / 439 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.1147, allocations: 47.97 kB / 439 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.115, allocations: 28 kB / 439 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.1152, allocations: 124.5 kB / 439.2 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.396e-05/0.1152, allocations: 51.98 kB / 439.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005739/0.1158, allocations: 0.7751 MB / 440 MB, free: 15.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1158, allocations: 4.031 kB / 440 MB, free: 15.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001861/0.1177, allocations: 0.828 MB / 440.8 MB, free: 14.9 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.0002695/0.1179, allocations: 175.9 kB / 441 MB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.1196, allocations: 2.014 MB / 443 MB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.168e-05/0.1197, allocations: 63.94 kB / 443.1 MB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.1201, allocations: 0.5078 MB / 443.6 MB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.1209, allocations: 275.8 kB / 443.9 MB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006755/0.1276, allocations: 7.274 MB / 451.1 MB, free: 4.371 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.129, allocations: 1.121 MB / 452.2 MB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000746/0.1297, allocations: 379.5 kB / 452.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.1302, allocations: 409.2 kB / 453 MB, free: 2.453 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1302, allocations: 3.938 kB / 453 MB, free: 2.449 MB / 426.7 MB Notification: Performance of Templates: time 0.1667/0.2969, allocations: 18.81 MB / 471.8 MB, free: 119 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: 3.7746046846732497]