Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007342/0.0007342, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001775, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007194/0.0007194, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008887/0.001608, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9924/0.9924, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08774/1.08, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2425/0.2425, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02103/0.2635, allocations: 13.23 MB / 292.6 MB, free: 6.453 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.225e-05, allocations: 2.312 kB / 293.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.008376/0.008389, allocations: 11.64 MB / 305.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006165/0.01455, allocations: 3.958 MB / 309.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.01568, allocations: 67.75 kB / 309.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.01716, allocations: 1.37 MB / 310.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.01955, allocations: 1.82 MB / 312.7 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.02016, allocations: 415.1 kB / 313.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003243/0.02341, allocations: 3.919 MB / 317.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.02543, allocations: 1.896 MB / 318.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.02734, allocations: 1.913 MB / 320.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.02922, allocations: 1.823 MB / 322.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003488/0.02957, allocations: 240 kB / 322.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.03062, allocations: 0.7956 MB / 323.7 MB, free: 7.188 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009484/0.03157, allocations: 1.504 MB / 325.2 MB, free: 5.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007613/0.03233, allocations: 0.8135 MB / 326 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.03505, allocations: 3.68 MB / 329.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.641e-05/0.03506, allocations: 0 / 329.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.03506, allocations: 0 / 329.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.388e-05/0.03511, allocations: 0 / 329.7 MB, free: 1.168 MB / 314.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.003555/0.03866, allocations: 4.474 MB / 334.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.03869, allocations: 8.922 kB / 334.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003352/0.04205, allocations: 1.465 MB / 335.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.04355, allocations: 1.394 MB / 337.1 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.915e-05/0.04365, allocations: 193 kB / 337.2 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000298/0.04394, allocations: 252.1 kB / 337.5 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004033/0.04798, allocations: 4.372 MB / 341.9 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/0.04802, allocations: 23.77 kB / 341.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/0.04824, allocations: 119.8 kB / 342 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001781/0.05002, allocations: 2.155 MB / 344.2 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003365/0.05338, allocations: 2.485 MB / 346.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01777/0.07116, allocations: 23.8 MB / 370.4 MB, free: 7.066 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.0731, allocations: 1.177 MB / 371.6 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.0734, allocations: 242.5 kB / 371.9 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004288/0.07382, allocations: 396.6 kB / 372.2 MB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.07385, allocations: 51.88 kB / 372.3 MB, free: 5.191 MB / 362.7 MB Notification: Performance of pre-optimization done (n=185): time 3.406e-06/0.07386, allocations: 0 / 372.3 MB, free: 5.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=191): time 0.007375/0.08123, allocations: 4.244 MB / 376.5 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.08128, allocations: 64.72 kB / 376.6 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.08327, allocations: 2.212 MB / 378.8 MB, free: 14.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.08334, allocations: 57.62 kB / 378.9 MB, free: 14.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.08436, allocations: 2.68 MB / 381.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/0.0847, allocations: 0.7245 MB / 382.3 MB, free: 11.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006594/0.08536, allocations: 0.9065 MB / 383.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.08546, allocations: 365.8 kB / 383.5 MB, free: 9.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000807/0.08627, allocations: 0.5867 MB / 384.1 MB, free: 9.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.08821, allocations: 3.337 MB / 387.5 MB, free: 4.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/0.09101, allocations: 4.374 MB / 391.8 MB, free: 14.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.638e-05/0.09103, allocations: 31.94 kB / 391.9 MB, free: 14.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.002936/0.09397, allocations: 3.179 MB / 395 MB, free: 11.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.09401, allocations: 48 kB / 395.1 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.033e-05/0.09407, allocations: 100 kB / 395.2 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.09425, allocations: 168.8 kB / 395.3 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.09606, allocations: 1.174 MB / 396.5 MB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009211/0.09699, allocations: 1.48 MB / 398 MB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.09822, allocations: 184 kB / 398.2 MB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/0.09843, allocations: 248 kB / 398.4 MB, free: 7.957 MB / 394.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.001057/0.09949, allocations: 0.5007 MB / 398.9 MB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.09969, allocations: 175.8 kB / 399.1 MB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1008, allocations: 1.032 MB / 400.1 MB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.1008, allocations: 20 kB / 400.1 MB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1008, allocations: 7.984 kB / 400.2 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.1008, allocations: 3.984 kB / 400.2 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004366/0.1052, allocations: 3.978 MB / 404.1 MB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.1052, allocations: 8.969 kB / 404.1 MB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/0.1057, allocations: 263.6 kB / 404.4 MB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.1059, allocations: 230.2 kB / 404.6 MB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.923e-05/0.106, allocations: 44.83 kB / 404.7 MB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.1061, allocations: 39.98 kB / 404.7 MB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008171/0.1069, allocations: 1.412 MB / 406.1 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/0.1069, allocations: 19.97 kB / 406.1 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.1082, allocations: 1.512 MB / 407.7 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.1084, allocations: 36 kB / 407.7 MB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.1087, allocations: 39.97 kB / 407.7 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.1089, allocations: 120.6 kB / 407.8 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.28e-05/0.1089, allocations: 59.97 kB / 407.9 MB, free: 13.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006087/0.1095, allocations: 0.7673 MB / 408.7 MB, free: 13.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1095, allocations: 4 kB / 408.7 MB, free: 13.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002193/0.1117, allocations: 0.8319 MB / 409.5 MB, free: 12.31 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.0003155/0.112, allocations: 183.9 kB / 409.7 MB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.1141, allocations: 1.995 MB / 411.7 MB, free: 10.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001069/0.1142, allocations: 72 kB / 411.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.1146, allocations: 0.5148 MB / 412.3 MB, free: 9.531 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008772/0.1155, allocations: 450.7 kB / 412.7 MB, free: 9.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008008/0.1235, allocations: 7.434 MB / 420.1 MB, free: 1.441 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008758/0.1244, allocations: 1.129 MB / 421.3 MB, free: 300 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007815/0.1252, allocations: 379.5 kB / 421.6 MB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004928/0.1257, allocations: 409.2 kB / 422 MB, free: 15.51 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1257, allocations: 0 / 422 MB, free: 15.51 MB / 426.7 MB Notification: Performance of Templates: time 0.1557/0.2814, allocations: 19.11 MB / 441.2 MB, free: 122.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.802060286514461]