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.00135/0.00135, allocations: 73.64 kB / 21.24 MB, free: 0.5547 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.001406/0.001406, allocations: 160 kB / 24.5 MB, free: 3.719 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.54/1.54, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.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.1988/0.1988, allocations: 32.81 MB / 294.1 MB, free: 20 kB / 270.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.002123/0.002123, allocations: 63.91 kB / 440.6 MB, free: 9.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3622, allocations: 65.43 MB / 0.4941 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.008101/0.3703, allocations: 7.651 MB / 0.5016 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006713/0.377, allocations: 3.291 MB / 0.5048 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.3782, allocations: 53.03 kB / 0.5049 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.3805, allocations: 1.323 MB / 0.5062 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.3826, allocations: 0.9413 MB / 0.5071 GB, free: 23.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009872/0.3836, allocations: 0.5103 MB / 0.5076 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.3855, allocations: 1.731 MB / 0.5093 GB, free: 22.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.3866, allocations: 1.245 MB / 0.5105 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007003/0.3873, allocations: 0.6704 MB / 0.5112 GB, free: 21.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.3883, allocations: 0.8811 MB / 0.512 GB, free: 21.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002369/0.3886, allocations: 138.3 kB / 0.5121 GB, free: 21.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.3897, allocations: 0.555 MB / 0.5127 GB, free: 21.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007383/0.3904, allocations: 0.7444 MB / 0.5134 GB, free: 20.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007119/0.3911, allocations: 0.6503 MB / 0.5141 GB, free: 20.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.3942, allocations: 2.491 MB / 0.5165 GB, free: 19.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3942, allocations: 0 / 0.5165 GB, free: 19.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3942, allocations: 4 kB / 0.5165 GB, free: 19.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.825e-05/0.3942, allocations: 0 / 0.5165 GB, free: 19.6 MB / 446.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.003793/0.398, allocations: 1.973 MB / 0.5184 GB, free: 18.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3981, allocations: 9.594 kB / 0.5184 GB, free: 18.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.3993, allocations: 302.4 kB / 0.5187 GB, free: 18.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.4015, allocations: 1.01 MB / 0.5197 GB, free: 17.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.907e-05/0.4016, allocations: 95.45 kB / 0.5198 GB, free: 17.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.4018, allocations: 129.8 kB / 0.5199 GB, free: 17.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006571/0.4084, allocations: 3.044 MB / 0.5229 GB, free: 16.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/0.4084, allocations: 18.86 kB / 0.5229 GB, free: 16.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.4086, allocations: 55.38 kB / 0.523 GB, free: 16.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007497/0.4093, allocations: 433.5 kB / 0.5234 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005943/0.4153, allocations: 2.159 MB / 0.5255 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01292/0.4282, allocations: 9.91 MB / 0.5352 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00451/0.4327, allocations: 1.277 MB / 0.5364 GB, free: 8.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005985/0.4333, allocations: 367.6 kB / 0.5368 GB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004044/0.4373, allocations: 2.029 MB / 0.5387 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.4374, allocations: 41.75 kB / 0.5388 GB, free: 7.133 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.926e-06/0.4374, allocations: 4 kB / 0.5388 GB, free: 7.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01312/0.4505, allocations: 3.754 MB / 0.5424 GB, free: 5.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.4505, allocations: 87.27 kB / 0.5425 GB, free: 5.422 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.4522, allocations: 1.154 MB / 0.5437 GB, free: 4.758 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.4522, allocations: 36.11 kB / 0.5437 GB, free: 4.719 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/0.4527, allocations: 0.9683 MB / 0.5446 GB, free: 3.855 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.4529, allocations: 230.4 kB / 0.5449 GB, free: 3.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004546/0.4533, allocations: 319.5 kB / 0.5452 GB, free: 3.473 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4534, allocations: 360.1 kB / 0.5455 GB, free: 3.129 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/0.454, allocations: 419.4 kB / 0.5459 GB, free: 2.934 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.4551, allocations: 1.284 MB / 0.5472 GB, free: 1.551 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.4569, allocations: 1.813 MB / 0.5489 GB, free: 15.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/0.4569, allocations: 12 kB / 0.5489 GB, free: 15.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003145/0.46, allocations: 1.736 MB / 0.5506 GB, free: 13.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/0.4601, allocations: 20 kB / 0.5507 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.866e-05/0.4601, allocations: 28 kB / 0.5507 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.4604, allocations: 84.83 kB / 0.5508 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.4616, allocations: 363.9 kB / 0.5511 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.4636, allocations: 1.742 MB / 0.5528 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.4648, allocations: 71.97 kB / 0.5529 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.4649, allocations: 88 kB / 0.553 GB, free: 11.08 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.001268/0.4662, allocations: 0.6363 MB / 0.5536 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.4664, allocations: 119.2 kB / 0.5537 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.4667, allocations: 130.6 kB / 0.5538 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4667, allocations: 4 kB / 0.5538 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.4667, allocations: 3.938 kB / 0.5538 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.4667, allocations: 7.984 kB / 0.5538 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/0.4705, allocations: 1.796 MB / 0.5556 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.4705, allocations: 4 kB / 0.5556 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/0.4709, allocations: 100.3 kB / 0.5557 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002066/0.4711, allocations: 72.75 kB / 0.5558 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.4712, allocations: 16 kB / 0.5558 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.4731, allocations: 1.802 MB / 0.5575 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.4731, allocations: 7.938 kB / 0.5575 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.4749, allocations: 1.107 MB / 0.5586 GB, free: 5.012 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/0.4752, allocations: 95.33 kB / 0.5587 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4753, allocations: 19.98 kB / 0.5587 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.4757, allocations: 27.97 kB / 0.5588 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.4758, allocations: 55.8 kB / 0.5588 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.4758, allocations: 20.06 kB / 0.5588 GB, free: 4.797 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.4769, allocations: 0.6947 MB / 0.5595 GB, free: 4.094 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4769, allocations: 4 kB / 0.5595 GB, free: 4.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001845/0.4788, allocations: 296 kB / 0.5598 GB, free: 3.801 MB / 462.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.000252/0.479, allocations: 123.6 kB / 0.5599 GB, free: 3.668 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.4813, allocations: 1.089 MB / 0.561 GB, free: 2.574 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4813, allocations: 0 / 0.561 GB, free: 2.574 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007185/0.4821, allocations: 395.9 kB / 0.5614 GB, free: 2.176 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4831, allocations: 180 kB / 0.5615 GB, free: 2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.4889, allocations: 2.868 MB / 0.5643 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.4903, allocations: 0.8511 MB / 0.5652 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001172/0.4914, allocations: 405.1 kB / 0.5655 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.4916, allocations: 72.5 kB / 0.5656 GB, free: 13.69 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4916, allocations: 3.938 kB / 0.5656 GB, free: 13.68 MB / 478.1 MB Notification: Performance of Templates: time 0.02352/0.5152, allocations: 9.671 MB / 0.5751 GB, free: 4.191 MB / 478.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/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: 5.468918966944329]