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.001846/0.001846, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002148/0.002148, allocations: 161.7 kB / 24.27 MB, free: 172 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.526/1.526, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.4086/0.4086, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.574e-05, allocations: 6.25 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01456/0.01459, allocations: 9.956 MB / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009987/0.02458, allocations: 3.878 MB / 389.1 MB, free: 7.062 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.02689, allocations: 75.62 kB / 389.2 MB, free: 6.988 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006047/0.03294, allocations: 2.593 MB / 391.8 MB, free: 4.387 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005778/0.03872, allocations: 1.963 MB / 393.7 MB, free: 2.414 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.04098, allocations: 0.8577 MB / 394.6 MB, free: 1.555 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008443/0.04943, allocations: 5.204 MB / 399.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005358/0.05478, allocations: 3.361 MB / 403.2 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004147/0.05893, allocations: 2.432 MB / 405.6 MB, free: 6.492 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004649/0.06358, allocations: 2.498 MB / 408.1 MB, free: 3.988 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008912/0.06447, allocations: 340 kB / 408.4 MB, free: 3.656 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.06657, allocations: 0.9205 MB / 409.3 MB, free: 2.734 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002635/0.0692, allocations: 2.053 MB / 411.4 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002281/0.07148, allocations: 1.328 MB / 412.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009019/0.0805, allocations: 6.868 MB / 419.6 MB, free: 8.453 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.0805, allocations: 0 / 419.6 MB, free: 8.453 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.08051, allocations: 0 / 419.6 MB, free: 8.453 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001169/0.08062, allocations: 3.938 kB / 419.6 MB, free: 8.449 MB / 394.7 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.009635/0.09026, allocations: 4.9 MB / 424.5 MB, free: 3.488 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.0903, allocations: 8.031 kB / 424.5 MB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009123/0.09942, allocations: 2.615 MB / 427.1 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005547/0.105, allocations: 2.288 MB / 429.4 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/0.1052, allocations: 250.7 kB / 429.6 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007519/0.106, allocations: 332.2 kB / 430 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02106/0.127, allocations: 10.35 MB / 440.3 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/0.1272, allocations: 47.58 kB / 440.4 MB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005078/0.1277, allocations: 159.9 kB / 440.5 MB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003231/0.1309, allocations: 1.9 MB / 442.4 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1887/0.3196, allocations: 8.177 MB / 450.6 MB, free: 95.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03658/0.3562, allocations: 37.02 MB / 487.6 MB, free: 68.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007163/0.3634, allocations: 2.86 MB / 490.5 MB, free: 67.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.3648, allocations: 0.9586 MB / 491.4 MB, free: 67.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00751/0.3724, allocations: 4.42 MB / 495.9 MB, free: 65.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3724, allocations: 50.89 kB / 495.9 MB, free: 65.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.907e-06/0.3724, allocations: 0 / 495.9 MB, free: 65.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.02426/0.3967, allocations: 10.04 MB / 0.4941 GB, free: 61.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.3967, allocations: 201.6 kB / 0.4943 GB, free: 61.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004837/0.4016, allocations: 3.943 MB / 0.4981 GB, free: 58.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002008/0.4018, allocations: 49.7 kB / 0.4982 GB, free: 58.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001573/0.4033, allocations: 3.295 MB / 0.5014 GB, free: 55.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/0.4038, allocations: 0.6576 MB / 0.502 GB, free: 55.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/0.405, allocations: 1.207 MB / 0.5032 GB, free: 54.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.4051, allocations: 301.8 kB / 0.5035 GB, free: 53.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/0.4078, allocations: 1.679 MB / 0.5051 GB, free: 52.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004047/0.4118, allocations: 5.601 MB / 0.5106 GB, free: 45.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007256/0.4191, allocations: 7.821 MB / 0.5183 GB, free: 36.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003068/0.4194, allocations: 40 kB / 0.5183 GB, free: 36.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.015/0.4344, allocations: 7.28 MB / 0.5254 GB, free: 29.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.4345, allocations: 67.94 kB / 0.5255 GB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002558/0.4348, allocations: 136.9 kB / 0.5256 GB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.4349, allocations: 180 kB / 0.5258 GB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004357/0.4393, allocations: 1.454 MB / 0.5272 GB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001467/0.4394, allocations: 270.9 kB / 0.5274 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005048/0.4445, allocations: 406.6 kB / 0.5278 GB, free: 27.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006337/0.4451, allocations: 379 kB / 0.5282 GB, free: 26.67 MB / 410.7 MB 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.00271/0.4478, allocations: 2.033 MB / 0.5302 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007242/0.4485, allocations: 369.8 kB / 0.5305 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006234/0.4492, allocations: 382.5 kB / 0.5309 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.4492, allocations: 16 kB / 0.5309 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/0.4492, allocations: 0 / 0.5309 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.4492, allocations: 7.984 kB / 0.5309 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007607/0.4568, allocations: 4.763 MB / 0.5356 GB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.4568, allocations: 16 kB / 0.5356 GB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009542/0.4578, allocations: 283.5 kB / 0.5359 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.037e-05/0.4578, allocations: 24.66 kB / 0.5359 GB, free: 18.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.817e-05/0.4579, allocations: 55.81 kB / 0.5359 GB, free: 18.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.95e-05/0.4579, allocations: 39.86 kB / 0.536 GB, free: 18.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.563e-05/0.4579, allocations: 30.77 kB / 0.536 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.4614, allocations: 3.291 MB / 0.5392 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008638/0.4622, allocations: 341.7 kB / 0.5395 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/0.4626, allocations: 47.98 kB / 0.5396 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.4639, allocations: 119.9 kB / 0.5397 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.4641, allocations: 151.4 kB / 0.5398 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.724e-05/0.4642, allocations: 64 kB / 0.5399 GB, free: 14.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002957/0.4671, allocations: 2.284 MB / 0.5421 GB, free: 11.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4671, allocations: 0 / 0.5421 GB, free: 11.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005135/0.4723, allocations: 0.9842 MB / 0.5431 GB, free: 10.92 MB / 410.7 MB 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.0004859/0.4727, allocations: 209.2 kB / 0.5433 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005597/0.4783, allocations: 3.716 MB / 0.5469 GB, free: 7.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-05/0.4784, allocations: 0 / 0.5469 GB, free: 7.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009324/0.4793, allocations: 0.7029 MB / 0.5476 GB, free: 6.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/0.4828, allocations: 431.8 kB / 0.548 GB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/0.4994, allocations: 8.84 MB / 0.5567 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004885/0.5043, allocations: 2.633 MB / 0.5592 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004743/0.509, allocations: 1.778 MB / 0.561 GB, free: 8.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007164/0.5097, allocations: 232.5 kB / 0.5612 GB, free: 8.094 MB / 426.7 MB Notification: Performance of SimCode: time 1.442e-06/0.5097, allocations: 0 / 0.5612 GB, free: 8.094 MB / 426.7 MB Notification: Performance of Templates: time 0.05894/0.5687, allocations: 21.89 MB / 0.5826 GB, free: 2.797 MB / 442.7 MB " [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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/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.672145492979325]