Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001866/0.001866, allocations: 82.56 kB / 20.52 MB, free: 1.277 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.003198/0.003198, allocations: 172.2 kB / 23.77 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2155/0.2155, allocations: 32.38 MB / 270.1 MB, free: 2.707 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002508/0.002508, allocations: 67.91 kB / 407.8 MB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1465, allocations: 61.05 MB / 468.8 MB, free: 8.293 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.3492/0.4957, allocations: 9.984 MB / 478.8 MB, free: 43.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007568/0.5033, allocations: 3.88 MB / 482.7 MB, free: 43.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.505, allocations: 83.03 kB / 482.7 MB, free: 43.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004053/0.5091, allocations: 2.424 MB / 485.2 MB, free: 42.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004804/0.5139, allocations: 1.943 MB / 487.1 MB, free: 42.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.5155, allocations: 0.7887 MB / 487.9 MB, free: 41.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005215/0.5207, allocations: 4.45 MB / 492.4 MB, free: 40.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002865/0.5236, allocations: 2.797 MB / 495.2 MB, free: 38.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.5259, allocations: 1.605 MB / 496.8 MB, free: 38.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002944/0.5289, allocations: 2.281 MB / 499 MB, free: 37.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007105/0.5296, allocations: 336.2 kB / 499.4 MB, free: 37.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.5315, allocations: 0.8791 MB / 0.4885 GB, free: 37.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.533, allocations: 1.991 MB / 0.4905 GB, free: 36.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001906/0.5349, allocations: 1.689 MB / 0.4921 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.5459, allocations: 6.936 MB / 0.4989 GB, free: 32.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.5459, allocations: 0.8438 kB / 0.4989 GB, free: 32.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5459, allocations: 4 kB / 0.4989 GB, free: 32.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003456/0.5462, allocations: 0 / 0.4989 GB, free: 32.89 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.02754/0.5738, allocations: 4.894 MB / 0.5037 GB, free: 30.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.613e-05/0.5738, allocations: 9.391 kB / 0.5037 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0174/0.5912, allocations: 2.123 MB / 0.5058 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.6023, allocations: 2.434 MB / 0.5081 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004486/0.6027, allocations: 244.7 kB / 0.5084 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002392/0.6051, allocations: 336.2 kB / 0.5087 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03687/0.642, allocations: 10.33 MB / 0.5188 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002942/0.6423, allocations: 47.27 kB / 0.5188 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001161/0.6434, allocations: 160.6 kB / 0.519 GB, free: 22.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005701/0.6491, allocations: 1.914 MB / 0.5208 GB, free: 21.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0304/0.6795, allocations: 8.148 MB / 0.5288 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0704/0.7499, allocations: 36.86 MB / 0.5648 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009218/0.7591, allocations: 2.843 MB / 0.5676 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.761, allocations: 0.9659 MB / 0.5685 GB, free: 5.664 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00932/0.7704, allocations: 4.312 MB / 0.5727 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/0.7704, allocations: 51.5 kB / 0.5728 GB, free: 1.262 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 4.127e-06/0.7704, allocations: 0 / 0.5728 GB, free: 1.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02989/0.8003, allocations: 9.874 MB / 0.5824 GB, free: 7.336 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/0.8005, allocations: 208.8 kB / 0.5826 GB, free: 7.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006075/0.8065, allocations: 3.816 MB / 0.5863 GB, free: 3.273 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002805/0.8068, allocations: 49.7 kB / 0.5864 GB, free: 3.219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002674/0.8095, allocations: 3.343 MB / 0.5897 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000782/0.8103, allocations: 0.6669 MB / 0.5903 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/0.8119, allocations: 1.219 MB / 0.5915 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.812, allocations: 308.9 kB / 0.5918 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002928/0.815, allocations: 1.667 MB / 0.5934 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006624/0.8216, allocations: 5.596 MB / 0.5989 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/0.8339, allocations: 7.815 MB / 0.6065 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002283/0.8341, allocations: 36 kB / 0.6065 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01491/0.849, allocations: 6.926 MB / 0.6133 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-05/0.8491, allocations: 64 kB / 0.6134 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001716/0.8493, allocations: 140 kB / 0.6135 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.8495, allocations: 180 kB / 0.6137 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004792/0.8543, allocations: 1.451 MB / 0.6151 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002657/0.8546, allocations: 271 kB / 0.6154 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004529/0.8591, allocations: 343.6 kB / 0.6157 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007515/0.8598, allocations: 372 kB / 0.616 GB, free: 0.9219 MB / 0.5137 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.004412/0.8642, allocations: 2.041 MB / 0.618 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008755/0.8651, allocations: 329.8 kB / 0.6183 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.8677, allocations: 1.313 MB / 0.6196 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/0.8677, allocations: 20 kB / 0.6196 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.8678, allocations: 0.875 kB / 0.6196 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.8678, allocations: 3.984 kB / 0.6196 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.8786, allocations: 4.684 MB / 0.6242 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001346/0.8787, allocations: 19.94 kB / 0.6242 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.8798, allocations: 283.5 kB / 0.6245 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-05/0.8798, allocations: 24 kB / 0.6245 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.913e-05/0.8799, allocations: 54.16 kB / 0.6246 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.871e-05/0.88, allocations: 39.8 kB / 0.6246 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.141e-05/0.88, allocations: 27.88 kB / 0.6247 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/0.8845, allocations: 3.254 MB / 0.6278 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.8858, allocations: 437.5 kB / 0.6282 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/0.8861, allocations: 47.98 kB / 0.6283 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.8873, allocations: 79.92 kB / 0.6284 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.8875, allocations: 147.3 kB / 0.6285 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.8876, allocations: 71.94 kB / 0.6286 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003942/0.8916, allocations: 2.184 MB / 0.6307 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.8916, allocations: 4 kB / 0.6307 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00543/0.897, allocations: 0.8984 MB / 0.6316 GB, free: 468 kB / 0.5294 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.0004637/0.8975, allocations: 190.6 kB / 0.6318 GB, free: 264 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007235/0.9047, allocations: 3.694 MB / 0.6354 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/0.9047, allocations: 0 / 0.6354 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.9059, allocations: 0.7041 MB / 0.6361 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/0.9087, allocations: 412.4 kB / 0.6365 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/0.9259, allocations: 8.852 MB / 0.6451 GB, free: 2.379 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004499/0.9304, allocations: 2.646 MB / 0.6477 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004963/0.9354, allocations: 1.779 MB / 0.6494 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000534/0.9359, allocations: 224.5 kB / 0.6496 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/0.9359, allocations: 3.938 kB / 0.6496 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.05487/0.9908, allocations: 20.6 MB / 0.6698 GB, free: 9.148 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.042985722073354]