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.001517/0.001517, allocations: 120.8 kB / 20.33 MB, free: 1.543 MB / 14.72 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.002118/0.002118, allocations: 214.3 kB / 23.61 MB, free: 4.93 MB / 14.72 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.574/1.574, allocations: 230.5 MB / 257.2 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] 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.2322/0.2322, allocations: 44.91 MB / 358.6 MB, free: 6.34 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 71.88 kB / 0.4932 GB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4088, allocations: 65.48 MB / 0.5571 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01231/0.4211, allocations: 8.631 MB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008734/0.4298, allocations: 3.499 MB / 0.569 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.4317, allocations: 51.75 kB / 0.569 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.4348, allocations: 1.382 MB / 0.5704 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.4377, allocations: 0.9378 MB / 0.5713 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.4391, allocations: 0.5186 MB / 0.5718 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003313/0.4425, allocations: 1.73 MB / 0.5735 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.4447, allocations: 1.245 MB / 0.5747 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.4461, allocations: 0.6776 MB / 0.5754 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.4479, allocations: 0.9424 MB / 0.5763 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005533/0.4485, allocations: 140 kB / 0.5764 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.4501, allocations: 0.5733 MB / 0.577 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.4513, allocations: 0.7441 MB / 0.5777 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001669/0.453, allocations: 0.8315 MB / 0.5785 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004022/0.457, allocations: 2.489 MB / 0.581 GB, free: 15.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.457, allocations: 0 / 0.581 GB, free: 15.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.457, allocations: 0 / 0.581 GB, free: 15.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.25e-05/0.4571, allocations: 0 / 0.581 GB, free: 15.2 MB / 430.1 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.006041/0.4632, allocations: 1.982 MB / 0.5829 GB, free: 13.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.4632, allocations: 8.031 kB / 0.5829 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.4647, allocations: 271.6 kB / 0.5832 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.4676, allocations: 1.003 MB / 0.5841 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.4677, allocations: 98.58 kB / 0.5842 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003948/0.4681, allocations: 127.9 kB / 0.5844 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007018/0.4751, allocations: 3.046 MB / 0.5873 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.974e-05/0.4751, allocations: 11.94 kB / 0.5873 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.4753, allocations: 59.97 kB / 0.5874 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007188/0.476, allocations: 434 kB / 0.5878 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005405/0.4814, allocations: 2.171 MB / 0.5899 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/0.496, allocations: 10.61 MB / 0.6003 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/0.5003, allocations: 1.203 MB / 0.6015 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/0.501, allocations: 371.1 kB / 0.6018 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004335/0.5053, allocations: 2.108 MB / 0.6039 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.5053, allocations: 35 kB / 0.6039 GB, free: 7.066 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.585e-06/0.5053, allocations: 0 / 0.6039 GB, free: 7.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01412/0.5195, allocations: 3.59 MB / 0.6074 GB, free: 3.418 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.5195, allocations: 85.61 kB / 0.6075 GB, free: 3.316 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.5217, allocations: 1.182 MB / 0.6087 GB, free: 2.121 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.875e-05/0.5218, allocations: 37.7 kB / 0.6087 GB, free: 2.078 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008729/0.5227, allocations: 0.9624 MB / 0.6096 GB, free: 1.105 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.5229, allocations: 226.2 kB / 0.6098 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000481/0.5234, allocations: 323.3 kB / 0.6102 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5235, allocations: 301.1 kB / 0.6104 GB, free: 268 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008438/0.5244, allocations: 419.7 kB / 0.6108 GB, free: 15.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.5261, allocations: 1.279 MB / 0.6121 GB, free: 14.15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/0.5287, allocations: 1.826 MB / 0.6139 GB, free: 11.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.5287, allocations: 8 kB / 0.6139 GB, free: 11.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003012/0.5317, allocations: 1.739 MB / 0.6156 GB, free: 10.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.5318, allocations: 20 kB / 0.6156 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/0.5318, allocations: 28 kB / 0.6156 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.532, allocations: 92.7 kB / 0.6157 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.5332, allocations: 363.3 kB / 0.6161 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.5353, allocations: 1.781 MB / 0.6178 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.5365, allocations: 71.97 kB / 0.6179 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.5367, allocations: 88.06 kB / 0.618 GB, free: 7.605 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (194): * Single equations (assignments): 193 * 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.001323/0.538, allocations: 0.6439 MB / 0.6186 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.5382, allocations: 115.2 kB / 0.6187 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.5385, allocations: 135.3 kB / 0.6188 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.5385, allocations: 8 kB / 0.6188 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.5385, allocations: 0 / 0.6188 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.5385, allocations: 7.984 kB / 0.6188 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004256/0.5428, allocations: 2.203 MB / 0.621 GB, free: 4.387 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.5428, allocations: 4 kB / 0.621 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004139/0.5432, allocations: 95.89 kB / 0.6211 GB, free: 4.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002613/0.5435, allocations: 60.81 kB / 0.6211 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.5435, allocations: 16 kB / 0.6212 GB, free: 4.211 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.5456, allocations: 1.84 MB / 0.623 GB, free: 2.258 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.5456, allocations: 8.062 kB / 0.623 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.5475, allocations: 1.114 MB / 0.624 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.5479, allocations: 107.2 kB / 0.6242 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.548, allocations: 16 kB / 0.6242 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.5483, allocations: 23.98 kB / 0.6242 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.701e-05/0.5484, allocations: 51.86 kB / 0.6242 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.5485, allocations: 24.06 kB / 0.6243 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001226/0.5497, allocations: 0.7593 MB / 0.625 GB, free: 88 kB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5497, allocations: 0 / 0.625 GB, free: 88 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001699/0.5514, allocations: 300 kB / 0.6253 GB, free: 15.79 MB / 478.1 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.0002736/0.5517, allocations: 128.7 kB / 0.6254 GB, free: 15.65 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.5537, allocations: 1.077 MB / 0.6265 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.5537, allocations: 7.938 kB / 0.6265 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006592/0.5544, allocations: 398.2 kB / 0.6269 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5555, allocations: 189.7 kB / 0.627 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005502/0.561, allocations: 2.881 MB / 0.6298 GB, free: 11.01 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.5621, allocations: 0.8591 MB / 0.6307 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001054/0.5632, allocations: 405.6 kB / 0.6311 GB, free: 9.719 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.5633, allocations: 75.44 kB / 0.6311 GB, free: 9.645 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5633, allocations: 4 kB / 0.6311 GB, free: 9.641 MB / 478.1 MB Notification: Performance of Templates: time 0.02838/0.5917, allocations: 11.79 MB / 0.6427 GB, free: 13.91 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.034320870414376]