Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001064/0.001064, allocations: 80.8 kB / 21.49 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.00113/0.00113, allocations: 167.3 kB / 24.91 MB, free: 9.109 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 1.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2931/0.2931, allocations: 34.25 MB / 296.1 MB, free: 0.7188 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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.681e-05, allocations: 3.156 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.007203/0.00723, allocations: 8.257 MB / 333.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006354/0.01358, allocations: 3.476 MB / 337 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.01484, allocations: 51.75 kB / 337.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.01667, allocations: 1.444 MB / 338.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.01856, allocations: 0.9486 MB / 339.5 MB, free: 9.406 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008668/0.01943, allocations: 0.5574 MB / 340 MB, free: 8.848 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.02136, allocations: 2.067 MB / 342.1 MB, free: 6.781 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/0.02316, allocations: 1.48 MB / 343.6 MB, free: 5.246 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.02451, allocations: 1.017 MB / 344.6 MB, free: 4.227 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.02571, allocations: 0.9431 MB / 345.5 MB, free: 3.281 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.02598, allocations: 136 kB / 345.7 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008436/0.02682, allocations: 0.5849 MB / 346.3 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005748/0.02739, allocations: 0.7871 MB / 347 MB, free: 1.773 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006326/0.02803, allocations: 0.5298 MB / 347.6 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.02996, allocations: 1.729 MB / 349.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.02997, allocations: 0 / 349.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.02997, allocations: 0 / 349.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.996e-05/0.03003, allocations: 0 / 349.3 MB, free: 15.51 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.002742/0.03277, allocations: 1.81 MB / 351.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.03281, allocations: 15.97 kB / 351.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007081/0.03352, allocations: 268.7 kB / 351.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.03455, allocations: 0.8002 MB / 352.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.0346, allocations: 94.83 kB / 352.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.03474, allocations: 132.3 kB / 352.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.03689, allocations: 1.622 MB / 354 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.03693, allocations: 11.92 kB / 354 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.992e-05/0.03702, allocations: 59.97 kB / 354.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003278/0.03734, allocations: 398.1 kB / 354.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.03883, allocations: 0.7375 MB / 355.2 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006591/0.04542, allocations: 8.308 MB / 363.5 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.04742, allocations: 0.9227 MB / 364.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.04759, allocations: 140.2 kB / 364.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00189/0.04948, allocations: 1.577 MB / 366.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.04951, allocations: 43.06 kB / 366.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 3.176e-06/0.04951, allocations: 0 / 366.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.005054/0.05456, allocations: 2.366 MB / 368.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.0546, allocations: 81.61 kB / 368.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007824/0.05539, allocations: 1.017 MB / 369.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.05542, allocations: 33.7 kB / 369.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.05582, allocations: 0.8898 MB / 370.6 MB, free: 9.492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.05595, allocations: 230.2 kB / 370.8 MB, free: 9.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.05618, allocations: 311.2 kB / 371.1 MB, free: 8.957 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003709/0.05655, allocations: 361.8 kB / 371.5 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.05683, allocations: 178.8 kB / 371.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/0.05746, allocations: 1.065 MB / 372.7 MB, free: 6.926 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009958/0.05846, allocations: 1.363 MB / 374.1 MB, free: 5.121 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.05847, allocations: 12 kB / 374.1 MB, free: 5.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001137/0.05961, allocations: 1.055 MB / 375.1 MB, free: 4.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.05964, allocations: 18.34 kB / 375.2 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.05966, allocations: 32 kB / 375.2 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.05981, allocations: 75.66 kB / 375.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.0605, allocations: 391.8 kB / 375.7 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009702/0.06147, allocations: 1.568 MB / 377.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000577/0.06205, allocations: 75.88 kB / 377.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.06211, allocations: 76 kB / 377.4 MB, free: 1.727 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.0003623/0.06247, allocations: 266.5 kB / 377.6 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/0.06257, allocations: 79.91 kB / 377.7 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.06296, allocations: 114.8 kB / 377.8 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.06296, allocations: 8 kB / 377.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.06297, allocations: 0 / 377.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.06298, allocations: 7.922 kB / 377.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.06454, allocations: 1.437 MB / 379.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.06454, allocations: 4.5 kB / 379.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.06476, allocations: 99.89 kB / 379.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.06487, allocations: 51.59 kB / 379.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.06489, allocations: 12 kB / 379.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009289/0.06582, allocations: 1.634 MB / 381.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.06582, allocations: 7.938 kB / 381.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/0.06636, allocations: 0.6293 MB / 381.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.06648, allocations: 103.3 kB / 381.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.739e-05/0.06654, allocations: 16 kB / 381.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.06675, allocations: 19.94 kB / 381.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.06681, allocations: 47.98 kB / 381.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.06683, allocations: 19.94 kB / 381.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003331/0.06716, allocations: 410.1 kB / 382.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.06716, allocations: 0 / 382.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009623/0.06812, allocations: 348 kB / 382.7 MB, free: 12.17 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.0002119/0.06833, allocations: 120.3 kB / 382.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007548/0.06909, allocations: 0.7293 MB / 383.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.029e-05/0.06913, allocations: 33.53 kB / 383.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.06937, allocations: 296.9 kB / 383.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.06989, allocations: 175 kB / 384 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.07304, allocations: 2.502 MB / 386.5 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.07336, allocations: 420.1 kB / 386.9 MB, free: 7.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000351/0.07371, allocations: 153.7 kB / 387.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.07402, allocations: 233.3 kB / 387.3 MB, free: 7.387 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.07402, allocations: 4 kB / 387.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of Templates: time 0.01785/0.09188, allocations: 11.38 MB / 398.7 MB, free: 12.19 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.248771754093468]