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.001057/0.001057, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009833/0.0009833, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.022/1.022, allocations: 177.1 MB / 205 MB, free: 5.613 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.2554/0.2554, allocations: 34.26 MB / 295.7 MB, free: 0.7695 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.633e-06/1.633e-06, allocations: 0 / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.226e-05, allocations: 10.19 kB / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009896/0.009928, allocations: 8.378 MB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006996/0.01692, allocations: 3.413 MB / 389.8 MB, free: 6.777 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.01817, allocations: 51.75 kB / 389.9 MB, free: 6.727 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002293/0.02046, allocations: 1.468 MB / 391.4 MB, free: 5.254 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.02307, allocations: 0.9759 MB / 392.3 MB, free: 4.273 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.02412, allocations: 0.5652 MB / 392.9 MB, free: 3.707 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.02627, allocations: 2.057 MB / 395 MB, free: 1.645 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.02832, allocations: 1.546 MB / 396.5 MB, free: 56 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.03017, allocations: 1.064 MB / 397.6 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.03189, allocations: 0.9743 MB / 398.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004684/0.03236, allocations: 140 kB / 398.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.03353, allocations: 0.5654 MB / 399.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000818/0.03435, allocations: 0.7871 MB / 400 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.03538, allocations: 0.5338 MB / 400.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.03828, allocations: 1.725 MB / 402.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.03829, allocations: 3.938 kB / 402.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03829, allocations: 4 kB / 402.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.978e-05/0.03837, allocations: 0 / 402.3 MB, free: 10.25 MB / 378.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.004876/0.04324, allocations: 2.139 MB / 404.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.0433, allocations: 12.03 kB / 404.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.04472, allocations: 419.5 kB / 404.9 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.04647, allocations: 0.9016 MB / 405.8 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.914e-05/0.04656, allocations: 98.83 kB / 405.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.04677, allocations: 120.3 kB / 406 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004496/0.05127, allocations: 2.037 MB / 408 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.073e-05/0.05133, allocations: 15.88 kB / 408 MB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.05147, allocations: 59.91 kB / 408.1 MB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000611/0.05208, allocations: 434 kB / 408.5 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/0.05559, allocations: 1.02 MB / 409.5 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.0673, allocations: 11.65 MB / 421.2 MB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.06986, allocations: 1.028 MB / 422.2 MB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.07011, allocations: 205.3 kB / 422.4 MB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002111/0.07222, allocations: 1.798 MB / 424.2 MB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.07225, allocations: 41.89 kB / 424.3 MB, free: 3.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.194e-06/0.07225, allocations: 0 / 424.3 MB, free: 3.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.006185/0.07844, allocations: 2.993 MB / 427.2 MB, free: 484 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.07848, allocations: 97.48 kB / 427.3 MB, free: 368 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.07954, allocations: 1.13 MB / 428.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.07957, allocations: 33.7 kB / 428.5 MB, free: 15.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005372/0.08011, allocations: 1.047 MB / 429.5 MB, free: 14.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.08025, allocations: 230.2 kB / 429.8 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.08053, allocations: 345 kB / 430.1 MB, free: 13.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.08069, allocations: 0.5394 MB / 430.7 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.08095, allocations: 163.8 kB / 430.8 MB, free: 12.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008213/0.08177, allocations: 1.468 MB / 432.3 MB, free: 10.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.08309, allocations: 1.774 MB / 434.1 MB, free: 8.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.0831, allocations: 8 kB / 434.1 MB, free: 8.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001533/0.08464, allocations: 1.345 MB / 435.4 MB, free: 7.051 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.08466, allocations: 18.19 kB / 435.4 MB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.08469, allocations: 32 kB / 435.5 MB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/0.08485, allocations: 75.66 kB / 435.5 MB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.08551, allocations: 371.4 kB / 435.9 MB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.08663, allocations: 2.145 MB / 438 MB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/0.08733, allocations: 99.89 kB / 438.1 MB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/0.08742, allocations: 88 kB / 438.2 MB, free: 4.113 MB / 410.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.0004671/0.08788, allocations: 298.4 kB / 438.5 MB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.08802, allocations: 131.3 kB / 438.6 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.08814, allocations: 122.7 kB / 438.8 MB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.08815, allocations: 4 kB / 438.8 MB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.08816, allocations: 0 / 438.8 MB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.08816, allocations: 3.984 kB / 438.8 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.09015, allocations: 1.754 MB / 440.5 MB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.09015, allocations: 4 kB / 440.5 MB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.09037, allocations: 95.83 kB / 440.6 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.09049, allocations: 60.14 kB / 440.7 MB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.09052, allocations: 16 kB / 440.7 MB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.09158, allocations: 2.17 MB / 442.9 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.09158, allocations: 7.938 kB / 442.9 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.0923, allocations: 0.827 MB / 443.7 MB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.09242, allocations: 111.3 kB / 443.8 MB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.09249, allocations: 16 kB / 443.8 MB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.09272, allocations: 35.95 kB / 443.9 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.09278, allocations: 51.8 kB / 443.9 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.0928, allocations: 20 kB / 443.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005236/0.09332, allocations: 0.5778 MB / 444.5 MB, free: 13.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09332, allocations: 0 / 444.5 MB, free: 13.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009835/0.0943, allocations: 360 kB / 444.9 MB, free: 13.13 MB / 426.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.0002513/0.09456, allocations: 135.1 kB / 445 MB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.09557, allocations: 0.8769 MB / 445.9 MB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.09558, allocations: 0 / 445.9 MB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.09587, allocations: 379.5 kB / 446.2 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.09647, allocations: 183.8 kB / 446.4 MB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.09963, allocations: 2.515 MB / 448.9 MB, free: 8.902 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.09994, allocations: 408.2 kB / 449.3 MB, free: 8.477 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005394/0.1005, allocations: 361.4 kB / 449.7 MB, free: 8.121 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.1006, allocations: 84.48 kB / 449.8 MB, free: 8.035 MB / 426.7 MB Notification: Performance of SimCode: time 1.803e-06/0.1006, allocations: 0 / 449.8 MB, free: 8.035 MB / 426.7 MB Notification: Performance of Templates: time 0.151/0.2516, allocations: 11.13 MB / 460.9 MB, free: 109.3 MB / 426.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 -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.6267249835655093]