Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.0009282/0.0009282, allocations: 80.8 kB / 21.5 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.001066/0.001066, allocations: 170.3 kB / 24.91 MB, free: 9.195 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.9939/0.9939, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2689/0.2689, allocations: 32.81 MB / 294.6 MB, free: 1.254 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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.367e-05/3.643e-05, allocations: 2.312 kB / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.007525/0.007562, allocations: 8.215 MB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006026/0.01359, allocations: 3.471 MB / 334.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.01467, allocations: 51.75 kB / 335 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.01637, allocations: 1.468 MB / 336.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.01821, allocations: 0.9799 MB / 337.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.01906, allocations: 0.5574 MB / 338 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.02083, allocations: 2.058 MB / 340 MB, free: 8.848 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.02229, allocations: 1.573 MB / 341.6 MB, free: 7.219 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.02352, allocations: 1.06 MB / 342.7 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.0246, allocations: 0.9431 MB / 343.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.02481, allocations: 140 kB / 343.7 MB, free: 5.074 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007403/0.02555, allocations: 0.5577 MB / 344.3 MB, free: 4.516 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005173/0.02607, allocations: 0.7832 MB / 345.1 MB, free: 3.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005282/0.0266, allocations: 0.5337 MB / 345.6 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.02822, allocations: 1.729 MB / 347.3 MB, free: 1.461 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.02823, allocations: 0 / 347.3 MB, free: 1.461 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.02823, allocations: 0 / 347.3 MB, free: 1.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.305e-05/0.02828, allocations: 0 / 347.3 MB, free: 1.461 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.002153/0.03044, allocations: 1.818 MB / 349.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.03047, allocations: 8.031 kB / 349.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006022/0.03107, allocations: 264.7 kB / 349.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008858/0.03196, allocations: 0.8157 MB / 350.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.03201, allocations: 86.84 kB / 350.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.03213, allocations: 132.3 kB / 350.5 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.03406, allocations: 1.618 MB / 352.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.03409, allocations: 15.92 kB / 352.1 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/0.03418, allocations: 59.97 kB / 352.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003224/0.0345, allocations: 402.1 kB / 352.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.03597, allocations: 0.7375 MB / 353.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00633/0.0423, allocations: 8.3 MB / 361.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.04394, allocations: 0.9265 MB / 362.5 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.04411, allocations: 155.7 kB / 362.7 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/0.04588, allocations: 1.573 MB / 364.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.04591, allocations: 43.06 kB / 364.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 2.916e-06/0.04591, allocations: 0 / 364.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.00499/0.0509, allocations: 2.366 MB / 366.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.05095, allocations: 89.59 kB / 366.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007853/0.05173, allocations: 1.006 MB / 367.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.05176, allocations: 37.7 kB / 367.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.05217, allocations: 0.8976 MB / 368.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.05229, allocations: 230.2 kB / 368.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.05251, allocations: 303.2 kB / 369.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.05261, allocations: 361.8 kB / 369.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.05287, allocations: 182.8 kB / 369.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/0.05349, allocations: 1.065 MB / 370.8 MB, free: 8.859 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009706/0.05446, allocations: 1.352 MB / 372.1 MB, free: 7.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.05448, allocations: 12 kB / 372.1 MB, free: 7.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001195/0.05567, allocations: 1.067 MB / 373.2 MB, free: 5.977 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.0557, allocations: 20 kB / 373.2 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.05573, allocations: 28 kB / 373.3 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.05588, allocations: 71.67 kB / 373.3 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/0.05648, allocations: 363.3 kB / 373.7 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008817/0.05736, allocations: 1.572 MB / 375.3 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/0.05794, allocations: 68.14 kB / 375.3 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.058, allocations: 80 kB / 375.4 MB, free: 3.688 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (199): * Single equations (assignments): 198 * Array equations: 0 * 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.0003552/0.05836, allocations: 254.5 kB / 375.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.05845, allocations: 83.91 kB / 375.7 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.05855, allocations: 114.8 kB / 375.8 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.05856, allocations: 4 kB / 375.8 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.05857, allocations: 3.984 kB / 375.9 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.05857, allocations: 3.938 kB / 375.9 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.06006, allocations: 1.444 MB / 377.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.06006, allocations: 4 kB / 377.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.06025, allocations: 91.84 kB / 377.4 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.06035, allocations: 52.14 kB / 377.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.06037, allocations: 16 kB / 377.5 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008312/0.0612, allocations: 1.622 MB / 379.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.06121, allocations: 4 kB / 379.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.06173, allocations: 0.6333 MB / 379.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.06184, allocations: 103.3 kB / 379.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.0619, allocations: 19.98 kB / 379.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.06209, allocations: 19.94 kB / 379.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.06215, allocations: 55.8 kB / 379.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.06216, allocations: 12 kB / 379.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002975/0.06246, allocations: 402.1 kB / 380.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06246, allocations: 4.031 kB / 380.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008934/0.06335, allocations: 352 kB / 380.7 MB, free: 14.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002105/0.06356, allocations: 120.2 kB / 380.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007108/0.06427, allocations: 0.7458 MB / 381.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.971e-05/0.06431, allocations: 27.84 kB / 381.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.06453, allocations: 293.5 kB / 381.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.06503, allocations: 179.2 kB / 382 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.06794, allocations: 2.499 MB / 384.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.06826, allocations: 408.2 kB / 384.9 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003398/0.0686, allocations: 157.7 kB / 385.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.06888, allocations: 233.3 kB / 385.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.06888, allocations: 0 / 385.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of Templates: time 0.01747/0.08635, allocations: 11.38 MB / 396.7 MB, free: 14.17 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.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.3284523361362517]