Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00175/0.00175, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001922/0.001922, allocations: 165.3 kB / 24.27 MB, free: 156 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.653/1.653, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3584/0.3584, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.962e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01542/0.01545, allocations: 10.92 MB / 388.2 MB, free: 8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009905/0.02536, allocations: 3.972 MB / 392.2 MB, free: 4.016 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.02743, allocations: 75.62 kB / 392.3 MB, free: 3.941 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00636/0.03379, allocations: 2.663 MB / 394.9 MB, free: 1.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006366/0.04016, allocations: 1.959 MB / 396.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.04227, allocations: 0.8615 MB / 397.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008283/0.05055, allocations: 5.204 MB / 402.9 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005525/0.05608, allocations: 3.373 MB / 406.3 MB, free: 5.805 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00459/0.06067, allocations: 2.44 MB / 408.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004837/0.06551, allocations: 2.545 MB / 411.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009606/0.06647, allocations: 340 kB / 411.6 MB, free: 488 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.06868, allocations: 0.9244 MB / 412.6 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0025/0.07118, allocations: 2.069 MB / 414.6 MB, free: 13.48 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002275/0.07346, allocations: 1.32 MB / 415.9 MB, free: 12.15 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009469/0.08293, allocations: 6.88 MB / 422.8 MB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.08293, allocations: 4 kB / 422.8 MB, free: 5.246 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.08293, allocations: 3.938 kB / 422.8 MB, free: 5.242 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002075/0.08314, allocations: 0 / 422.8 MB, free: 5.242 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.01305/0.09619, allocations: 5.732 MB / 428.6 MB, free: 15.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.09623, allocations: 8.031 kB / 428.6 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009236/0.1055, allocations: 2.514 MB / 431.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006176/0.1116, allocations: 2.119 MB / 433.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/0.1119, allocations: 242.7 kB / 433.4 MB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009149/0.1128, allocations: 328.2 kB / 433.8 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.1309, allocations: 7.021 MB / 440.8 MB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/0.131, allocations: 43.58 kB / 440.8 MB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004749/0.1315, allocations: 155.9 kB / 441 MB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1717/0.3032, allocations: 1.906 MB / 442.9 MB, free: 92.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.3151, allocations: 3.595 MB / 446.5 MB, free: 92.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04099/0.356, allocations: 48.86 MB / 495.3 MB, free: 53.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00679/0.3628, allocations: 2.098 MB / 497.4 MB, free: 53.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.3639, allocations: 0.5195 MB / 498 MB, free: 53.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007854/0.3718, allocations: 4.05 MB / 0.4902 GB, free: 50.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/0.3718, allocations: 56.52 kB / 0.4903 GB, free: 50.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 5.17e-06/0.3718, allocations: 0 / 0.4903 GB, free: 50.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.02538/0.3972, allocations: 8.195 MB / 0.4983 GB, free: 47.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.3973, allocations: 198.8 kB / 0.4985 GB, free: 47.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005754/0.4031, allocations: 4.443 MB / 0.5028 GB, free: 45.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.4032, allocations: 45.67 kB / 0.5029 GB, free: 45.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001847/0.4051, allocations: 3.664 MB / 0.5065 GB, free: 42.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005521/0.4056, allocations: 0.7155 MB / 0.5072 GB, free: 41.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001587/0.4072, allocations: 1.536 MB / 0.5087 GB, free: 41.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.4073, allocations: 476.8 kB / 0.5091 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.4086, allocations: 0.6584 MB / 0.5098 GB, free: 40.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/0.412, allocations: 6.63 MB / 0.5162 GB, free: 32.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00626/0.4183, allocations: 7.912 MB / 0.524 GB, free: 22.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000161/0.4185, allocations: 36 kB / 0.524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.009446/0.4279, allocations: 5.27 MB / 0.5291 GB, free: 17.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.647e-05/0.428, allocations: 64 kB / 0.5292 GB, free: 17.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/0.4281, allocations: 136.7 kB / 0.5293 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.4283, allocations: 180 kB / 0.5295 GB, free: 16.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/0.4321, allocations: 1.436 MB / 0.5309 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001711/0.4322, allocations: 268.4 kB / 0.5312 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004624/0.4368, allocations: 374.3 kB / 0.5315 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005786/0.4374, allocations: 378.5 kB / 0.5319 GB, free: 14.68 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.002012/0.4394, allocations: 0.7668 MB / 0.5326 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006454/0.4401, allocations: 370.7 kB / 0.533 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005395/0.4406, allocations: 318.2 kB / 0.5333 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.4407, allocations: 16 kB / 0.5333 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/0.4407, allocations: 0.8438 kB / 0.5333 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.4407, allocations: 14.47 kB / 0.5333 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008888/0.4496, allocations: 5.886 MB / 0.5391 GB, free: 7.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.152e-05/0.4496, allocations: 16 kB / 0.5391 GB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008951/0.4505, allocations: 285.4 kB / 0.5393 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.659e-05/0.4505, allocations: 24 kB / 0.5394 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-05/0.4506, allocations: 53.83 kB / 0.5394 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.197e-05/0.4506, allocations: 35.06 kB / 0.5395 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/0.4506, allocations: 32.33 kB / 0.5395 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.4533, allocations: 2.617 MB / 0.542 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000878/0.4542, allocations: 340.4 kB / 0.5424 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003381/0.4545, allocations: 48.64 kB / 0.5424 GB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.4557, allocations: 105.5 kB / 0.5425 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.4559, allocations: 153.1 kB / 0.5427 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.456, allocations: 65.92 kB / 0.5427 GB, free: 3.793 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00278/0.4588, allocations: 1.791 MB / 0.5445 GB, free: 2.289 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4588, allocations: 0 / 0.5445 GB, free: 2.289 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004947/0.4637, allocations: 0.9815 MB / 0.5454 GB, free: 1.309 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.0004057/0.4642, allocations: 211.6 kB / 0.5456 GB, free: 1.102 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005755/0.4699, allocations: 2.926 MB / 0.5485 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.777e-05/0.4699, allocations: 4 kB / 0.5485 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009888/0.4709, allocations: 0.5229 MB / 0.549 GB, free: 14.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/0.4738, allocations: 445.2 kB / 0.5494 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/0.49, allocations: 7.766 MB / 0.557 GB, free: 6.078 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003364/0.4933, allocations: 2.395 MB / 0.5593 GB, free: 3.961 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003994/0.4973, allocations: 1.571 MB / 0.5609 GB, free: 2.387 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/0.4979, allocations: 232.5 kB / 0.5611 GB, free: 2.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.793e-06/0.4979, allocations: 0 / 0.5611 GB, free: 2.16 MB / 426.7 MB Notification: Performance of Templates: time 0.05601/0.5539, allocations: 21.73 MB / 0.5823 GB, free: 13.02 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.842863775091246]