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.001348/0.001348, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002851, 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 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.001455/0.001455, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002034/0.003489, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.159/1.159, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1312/1.29, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.327/0.327, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03027/0.3572, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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.964e-06/1.964e-06, allocations: 0 / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.835e-05, allocations: 2.312 kB / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.009715/0.009734, allocations: 11.64 MB / 302.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006822/0.01656, allocations: 3.948 MB / 306.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009087/0.01746, allocations: 71.69 kB / 306.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.01901, allocations: 1.366 MB / 307.6 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.02157, allocations: 1.824 MB / 309.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007185/0.02229, allocations: 415 kB / 309.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003234/0.02552, allocations: 3.918 MB / 313.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.02731, allocations: 1.904 MB / 315.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.02916, allocations: 1.917 MB / 317.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.03105, allocations: 1.816 MB / 319.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003913/0.03144, allocations: 240 kB / 319.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.03262, allocations: 0.7917 MB / 320.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.03364, allocations: 1.508 MB / 322 MB, free: 8.805 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00087/0.03451, allocations: 0.8135 MB / 322.8 MB, free: 7.988 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.03768, allocations: 3.68 MB / 326.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.998e-05/0.0377, allocations: 0 / 326.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.0377, allocations: 0 / 326.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.666e-05/0.03778, allocations: 0 / 326.4 MB, free: 4.293 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.004454/0.04224, allocations: 4.477 MB / 330.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.04228, allocations: 12.03 kB / 330.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003573/0.04586, allocations: 1.465 MB / 332.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.04751, allocations: 1.398 MB / 333.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.04761, allocations: 189 kB / 334 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/0.04793, allocations: 244.2 kB / 334.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004541/0.05247, allocations: 4.368 MB / 338.6 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.203e-05/0.05253, allocations: 23.77 kB / 338.6 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.05276, allocations: 123.8 kB / 338.7 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001981/0.05474, allocations: 2.148 MB / 340.9 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/0.05884, allocations: 2.493 MB / 343.4 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02387/0.08272, allocations: 23.81 MB / 367.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.08502, allocations: 1.169 MB / 368.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.08537, allocations: 246.5 kB / 368.6 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005217/0.08589, allocations: 400.6 kB / 369 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.08594, allocations: 43.88 kB / 369 MB, free: 8.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=185): time 5.49e-06/0.08594, allocations: 96 / 369 MB, free: 8.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=191): time 0.009015/0.09496, allocations: 4.24 MB / 373.3 MB, free: 4.051 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.095, allocations: 68.72 kB / 373.3 MB, free: 3.969 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.09691, allocations: 2.212 MB / 375.5 MB, free: 1.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.09698, allocations: 57.69 kB / 375.6 MB, free: 1.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.09834, allocations: 2.68 MB / 378.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004314/0.09877, allocations: 0.7245 MB / 379 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007451/0.09951, allocations: 0.9065 MB / 379.9 MB, free: 13.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.09964, allocations: 361.8 kB / 380.3 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008701/0.1005, allocations: 0.5945 MB / 380.9 MB, free: 12.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.103, allocations: 3.333 MB / 384.2 MB, free: 7.578 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/0.1064, allocations: 4.362 MB / 388.6 MB, free: 1.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.765e-05/0.1065, allocations: 31.75 kB / 388.6 MB, free: 1.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.003675/0.1101, allocations: 3.183 MB / 391.8 MB, free: 14.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.737e-05/0.1102, allocations: 49.72 kB / 391.8 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.987e-05/0.1103, allocations: 100 kB / 391.9 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.1105, allocations: 177.5 kB / 392.1 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/0.1125, allocations: 1.178 MB / 393.3 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.1136, allocations: 1.472 MB / 394.7 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.1152, allocations: 183.9 kB / 394.9 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/0.1155, allocations: 256 kB / 395.2 MB, free: 11.08 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.001408/0.1169, allocations: 0.5046 MB / 395.7 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.1172, allocations: 171.8 kB / 395.8 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.1184, allocations: 1.032 MB / 396.9 MB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.1184, allocations: 24 kB / 396.9 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1184, allocations: 4 kB / 396.9 MB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.1184, allocations: 7.969 kB / 396.9 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005268/0.1237, allocations: 3.982 MB / 400.9 MB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.1237, allocations: 8 kB / 400.9 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.1242, allocations: 259.6 kB / 401.2 MB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.1245, allocations: 222.3 kB / 401.4 MB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.1246, allocations: 44.84 kB / 401.4 MB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.534e-05/0.1247, allocations: 44.03 kB / 401.5 MB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009061/0.1256, allocations: 1.405 MB / 402.9 MB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.1256, allocations: 15.94 kB / 402.9 MB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.127, allocations: 1.516 MB / 404.4 MB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.1272, allocations: 43.92 kB / 404.4 MB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.1275, allocations: 32 kB / 404.5 MB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.1277, allocations: 116.6 kB / 404.6 MB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.814e-05/0.1277, allocations: 59.97 kB / 404.6 MB, free: 1.062 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006113/0.1283, allocations: 0.7673 MB / 405.4 MB, free: 284 kB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1283, allocations: 0 / 405.4 MB, free: 284 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.002174/0.1305, allocations: 0.8358 MB / 406.2 MB, free: 15.44 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.0003116/0.1308, allocations: 179.9 kB / 406.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.1328, allocations: 2.002 MB / 408.4 MB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.852e-05/0.1329, allocations: 71.88 kB / 408.5 MB, free: 13.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.1333, allocations: 0.5195 MB / 409 MB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008933/0.1342, allocations: 442.1 kB / 409.4 MB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00862/0.1429, allocations: 7.439 MB / 416.9 MB, free: 4.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000926/0.1438, allocations: 1.129 MB / 418 MB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001019/0.1448, allocations: 379.5 kB / 418.4 MB, free: 3.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.1453, allocations: 409.3 kB / 418.8 MB, free: 2.645 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1453, allocations: 0 / 418.8 MB, free: 2.645 MB / 410.7 MB Notification: Performance of Templates: time 0.2101/0.3554, allocations: 19.11 MB / 437.9 MB, free: 114.6 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 -emit_protected -ignoreHideResult -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: 4.188621289096773]