Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.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.001404/0.001404, allocations: 73.72 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.001538/0.001538, allocations: 160.1 kB / 24.5 MB, free: 3.715 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.439/1.439, 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.1973/0.1973, allocations: 32.81 MB / 294.1 MB, free: 12 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.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring") [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.002352/0.002352, allocations: 63.91 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3611, allocations: 65.45 MB / 0.4942 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.008529/0.3697, allocations: 9.94 MB / 0.5039 GB, free: 24.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007036/0.3767, allocations: 3.878 MB / 0.5077 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.3782, allocations: 77.66 kB / 0.5077 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003956/0.3822, allocations: 2.442 MB / 0.5101 GB, free: 21.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004346/0.3865, allocations: 1.89 MB / 0.512 GB, free: 20.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.3882, allocations: 0.7771 MB / 0.5127 GB, free: 20.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006315/0.3945, allocations: 4.505 MB / 0.5171 GB, free: 18.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004094/0.3986, allocations: 2.772 MB / 0.5198 GB, free: 17.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003131/0.4017, allocations: 1.578 MB / 0.5214 GB, free: 16.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004933/0.4066, allocations: 2.266 MB / 0.5236 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001497/0.4081, allocations: 332.5 kB / 0.5239 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002706/0.4108, allocations: 0.8574 MB / 0.5247 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002689/0.4135, allocations: 1.97 MB / 0.5267 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002642/0.4162, allocations: 1.669 MB / 0.5283 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009025/0.4252, allocations: 6.866 MB / 0.535 GB, free: 10.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4252, allocations: 4 kB / 0.535 GB, free: 10.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4252, allocations: 0.9062 kB / 0.535 GB, free: 10.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000218/0.4254, allocations: 0 / 0.535 GB, free: 10.53 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01019/0.4356, allocations: 4.84 MB / 0.5397 GB, free: 7.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4356, allocations: 10.75 kB / 0.5397 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008124/0.4438, allocations: 2.129 MB / 0.5418 GB, free: 6.102 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005541/0.4493, allocations: 2.287 MB / 0.544 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.4495, allocations: 246.7 kB / 0.5443 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009784/0.4505, allocations: 330.1 kB / 0.5446 GB, free: 4.434 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02069/0.4712, allocations: 10.36 MB / 0.5547 GB, free: 9.957 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001572/0.4713, allocations: 43.64 kB / 0.5548 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000509/0.4719, allocations: 159.8 kB / 0.5549 GB, free: 9.758 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003211/0.4751, allocations: 1.908 MB / 0.5568 GB, free: 7.844 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01984/0.4949, allocations: 8.169 MB / 0.5647 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06378/0.5587, allocations: 36.85 MB / 0.6007 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008952/0.5676, allocations: 2.862 MB / 0.6035 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.5694, allocations: 0.966 MB / 0.6045 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008864/0.5783, allocations: 4.325 MB / 0.6087 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.5783, allocations: 51.56 kB / 0.6087 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=148): time 4.519e-06/0.5783, allocations: 0 / 0.6087 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.02501/0.6033, allocations: 9.911 MB / 0.6184 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.6035, allocations: 196.9 kB / 0.6186 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005778/0.6093, allocations: 3.784 MB / 0.6223 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002305/0.6095, allocations: 53.69 kB / 0.6224 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002789/0.6123, allocations: 3.339 MB / 0.6256 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008177/0.6131, allocations: 0.6552 MB / 0.6263 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/0.6148, allocations: 1.235 MB / 0.6275 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6149, allocations: 304.9 kB / 0.6278 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00317/0.6181, allocations: 1.679 MB / 0.6294 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006881/0.625, allocations: 5.608 MB / 0.6349 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/0.6362, allocations: 7.816 MB / 0.6425 GB, free: 10.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001285/0.6363, allocations: 40 kB / 0.6425 GB, free: 10.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01487/0.6512, allocations: 6.945 MB / 0.6493 GB, free: 3.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.842e-05/0.6513, allocations: 64.19 kB / 0.6494 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000172/0.6515, allocations: 136.8 kB / 0.6495 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.6517, allocations: 187.9 kB / 0.6497 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004912/0.6566, allocations: 1.45 MB / 0.6511 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002764/0.6568, allocations: 271 kB / 0.6514 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004578/0.6614, allocations: 339.6 kB / 0.6517 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008583/0.6623, allocations: 383.9 kB / 0.6521 GB, free: 0.9141 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 772 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004283/0.6666, allocations: 2.041 MB / 0.6541 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008483/0.6674, allocations: 333.8 kB / 0.6544 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.6684, allocations: 374.6 kB / 0.6547 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.836e-05/0.6685, allocations: 23.97 kB / 0.6548 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.6685, allocations: 0 / 0.6548 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.6685, allocations: 7.984 kB / 0.6548 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.6801, allocations: 4.689 MB / 0.6593 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-05/0.6802, allocations: 24 kB / 0.6594 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.6814, allocations: 287.5 kB / 0.6596 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.205e-05/0.6814, allocations: 27.98 kB / 0.6597 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.6815, allocations: 44.59 kB / 0.6597 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.068e-05/0.6816, allocations: 35.92 kB / 0.6597 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.176e-05/0.6816, allocations: 27.88 kB / 0.6598 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005558/0.6872, allocations: 3.282 MB / 0.663 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/0.6883, allocations: 313.7 kB / 0.6633 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006938/0.689, allocations: 47.98 kB / 0.6633 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.6907, allocations: 83.92 kB / 0.6634 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.6909, allocations: 147.3 kB / 0.6635 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.691, allocations: 71.98 kB / 0.6636 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004404/0.6954, allocations: 2.163 MB / 0.6657 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6954, allocations: 0 / 0.6657 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005756/0.7012, allocations: 0.8827 MB / 0.6666 GB, free: 1.527 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005994/0.7018, allocations: 198.6 kB / 0.6668 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008268/0.7101, allocations: 3.717 MB / 0.6704 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.382e-05/0.7101, allocations: 7.938 kB / 0.6704 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.7114, allocations: 0.7036 MB / 0.6711 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003802/0.7152, allocations: 407.2 kB / 0.6715 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/0.7332, allocations: 8.824 MB / 0.6801 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004193/0.7374, allocations: 2.633 MB / 0.6827 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004412/0.7418, allocations: 1.771 MB / 0.6844 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005982/0.7424, allocations: 224.5 kB / 0.6846 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/0.7424, allocations: 0 / 0.6846 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.3163/1.059, allocations: 20.48 MB / 0.7046 GB, free: 164.8 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.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.775148265063763]