Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001013/0.001013, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001045/0.001045, allocations: 161 kB / 24.91 MB, free: 8.766 MB / 18.57 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.9555/0.9555, allocations: 177 MB / 205.2 MB, free: 5.426 MB / 186.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.2614/0.2614, allocations: 34.87 MB / 296.6 MB, free: 0.5078 MB / 266.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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.771e-05, allocations: 8.281 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.006507/0.006525, allocations: 8.248 MB / 334.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005098/0.01162, allocations: 3.495 MB / 337.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005745/0.0122, allocations: 51.75 kB / 337.8 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.01375, allocations: 1.433 MB / 339.2 MB, free: 9.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.01517, allocations: 0.9486 MB / 340.1 MB, free: 8.867 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.01585, allocations: 0.5496 MB / 340.7 MB, free: 8.316 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.01732, allocations: 2.062 MB / 342.8 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.01846, allocations: 1.468 MB / 344.2 MB, free: 4.734 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008807/0.01934, allocations: 1.021 MB / 345.2 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008328/0.02018, allocations: 0.9469 MB / 346.2 MB, free: 2.762 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.02031, allocations: 140 kB / 346.3 MB, free: 2.625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000619/0.02093, allocations: 0.5811 MB / 346.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004432/0.02137, allocations: 0.7871 MB / 347.7 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.02175, allocations: 0.5337 MB / 348.2 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.023, allocations: 1.721 MB / 349.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.023, allocations: 0 / 349.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.023, allocations: 0 / 349.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.02302, allocations: 3.938 kB / 350 MB, free: 14.99 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.001706/0.02473, allocations: 1.81 MB / 351.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.02476, allocations: 12.03 kB / 351.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005408/0.0253, allocations: 260.7 kB / 352 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007719/0.02607, allocations: 0.8157 MB / 352.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.02612, allocations: 90.83 kB / 352.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.02624, allocations: 128.3 kB / 353.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.028, allocations: 1.622 MB / 354.7 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.02803, allocations: 11.88 kB / 354.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.0281, allocations: 55.97 kB / 354.7 MB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003153/0.02842, allocations: 406.1 kB / 355.1 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.02966, allocations: 0.7453 MB / 355.9 MB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005444/0.0351, allocations: 8.3 MB / 364.2 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.03675, allocations: 0.922 MB / 365.1 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.03691, allocations: 151.6 kB / 365.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/0.03849, allocations: 1.581 MB / 366.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.03851, allocations: 39.06 kB / 366.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 2.194e-06/0.03851, allocations: 0 / 366.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.004634/0.04315, allocations: 2.366 MB / 369.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.04319, allocations: 85.61 kB / 369.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006526/0.04384, allocations: 1.017 MB / 370.3 MB, free: 9.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.04386, allocations: 33.7 kB / 370.4 MB, free: 9.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.04422, allocations: 0.8937 MB / 371.3 MB, free: 8.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.04432, allocations: 222.2 kB / 371.5 MB, free: 8.734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.04454, allocations: 315.2 kB / 371.8 MB, free: 8.422 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.04464, allocations: 353.8 kB / 372.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.04488, allocations: 186.8 kB / 372.3 MB, free: 7.887 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.04548, allocations: 1.057 MB / 373.4 MB, free: 6.395 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008408/0.04632, allocations: 1.356 MB / 374.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.04633, allocations: 12 kB / 374.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.0009556/0.04728, allocations: 1.059 MB / 375.8 MB, free: 3.516 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.0473, allocations: 16 kB / 375.8 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.04732, allocations: 32 kB / 375.9 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001278/0.04745, allocations: 72.39 kB / 375.9 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.04809, allocations: 395.3 kB / 376.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007753/0.04886, allocations: 1.58 MB / 377.9 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.04931, allocations: 63.95 kB / 378 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.04938, allocations: 84.03 kB / 378 MB, free: 1.191 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.000258/0.04964, allocations: 246.5 kB / 378.3 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.297e-05/0.04972, allocations: 79.92 kB / 378.4 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.04982, allocations: 114.8 kB / 378.5 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.04983, allocations: 8 kB / 378.5 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.04983, allocations: 0 / 378.5 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.04984, allocations: 7.922 kB / 378.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.05124, allocations: 1.446 MB / 379.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.05125, allocations: 4 kB / 379.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.05146, allocations: 99.81 kB / 380 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.982e-05/0.05155, allocations: 47.66 kB / 380.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.05157, allocations: 16 kB / 380.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000861/0.05243, allocations: 1.639 MB / 381.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.05244, allocations: 7.938 kB / 381.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.05293, allocations: 0.625 MB / 382.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.05303, allocations: 107.3 kB / 382.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.0531, allocations: 16.06 kB / 382.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.05331, allocations: 27.92 kB / 382.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.05336, allocations: 43.86 kB / 382.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.05338, allocations: 23.88 kB / 382.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003333/0.05371, allocations: 398.2 kB / 383 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05371, allocations: 0 / 383 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008639/0.05457, allocations: 356 kB / 383.3 MB, free: 11.64 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.000189/0.05476, allocations: 128.2 kB / 383.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006635/0.05543, allocations: 0.7264 MB / 384.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001032/0.05553, allocations: 27.84 kB / 384.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.05575, allocations: 300.8 kB / 384.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.05627, allocations: 170.7 kB / 384.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.05891, allocations: 2.507 MB / 387.2 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.0592, allocations: 412.2 kB / 387.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002858/0.05949, allocations: 145.7 kB / 387.7 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.05977, allocations: 241.2 kB / 387.9 MB, free: 6.859 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.05977, allocations: 0 / 387.9 MB, free: 6.859 MB / 362.7 MB Notification: Performance of Templates: time 0.01553/0.0753, allocations: 11.37 MB / 399.3 MB, free: 11.69 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.0795806157402694]