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.001238/0.001238, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001489/0.001489, allocations: 161.4 kB / 24.56 MB, free: 20 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.02/1.02, allocations: 177.1 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] 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.2833/0.2833, allocations: 32.8 MB / 294.3 MB, free: 1.238 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.855e-05/4.071e-05, allocations: 6.25 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.009375/0.009416, allocations: 10.99 MB / 387 MB, free: 9.621 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007533/0.01695, allocations: 3.987 MB / 391 MB, free: 5.621 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.01869, allocations: 79.56 kB / 391.1 MB, free: 5.543 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003401/0.0221, allocations: 2.663 MB / 393.7 MB, free: 2.871 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005106/0.0272, allocations: 1.971 MB / 395.7 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.0288, allocations: 0.8616 MB / 396.6 MB, free: 28 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005265/0.03406, allocations: 5.211 MB / 401.8 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003359/0.03742, allocations: 3.361 MB / 405.1 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/0.04017, allocations: 2.448 MB / 407.6 MB, free: 4.945 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.04294, allocations: 2.537 MB / 410.1 MB, free: 2.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005618/0.04351, allocations: 340 kB / 410.5 MB, free: 2.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.04492, allocations: 0.9167 MB / 411.4 MB, free: 1.152 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001449/0.04637, allocations: 2.069 MB / 413.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.04766, allocations: 1.324 MB / 414.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004837/0.05249, allocations: 4.499 MB / 419.3 MB, free: 9.234 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.0525, allocations: 4 kB / 419.3 MB, free: 9.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.0525, allocations: 0 / 419.3 MB, free: 9.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001244/0.05263, allocations: 0 / 419.3 MB, free: 9.23 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.006376/0.059, allocations: 5.275 MB / 424.5 MB, free: 3.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.05905, allocations: 12.03 kB / 424.6 MB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004607/0.06366, allocations: 2.514 MB / 427.1 MB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.06687, allocations: 2.104 MB / 429.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.06702, allocations: 246.7 kB / 429.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004784/0.0675, allocations: 328.2 kB / 429.7 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.078, allocations: 6.568 MB / 436.3 MB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.781e-05/0.0781, allocations: 39.64 kB / 436.3 MB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003568/0.07846, allocations: 171.8 kB / 436.5 MB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001845/0.0803, allocations: 1.904 MB / 438.4 MB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007466/0.08777, allocations: 3.283 MB / 441.7 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2165/0.3042, allocations: 45.38 MB / 487.1 MB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004017/0.3083, allocations: 2.118 MB / 489.2 MB, free: 54.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006212/0.3089, allocations: 494.2 kB / 489.7 MB, free: 53.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004441/0.3133, allocations: 3.956 MB / 493.6 MB, free: 51.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3134, allocations: 51.95 kB / 493.7 MB, free: 51.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.767e-06/0.3134, allocations: 0 / 493.7 MB, free: 51.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.01306/0.3264, allocations: 8.026 MB / 0.49 GB, free: 48.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.3265, allocations: 199.8 kB / 0.4901 GB, free: 48.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003703/0.3302, allocations: 3.515 MB / 0.4936 GB, free: 46.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.3303, allocations: 50.42 kB / 0.4936 GB, free: 46.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001787/0.3321, allocations: 3.466 MB / 0.497 GB, free: 44.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006171/0.3327, allocations: 0.6748 MB / 0.4977 GB, free: 43.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/0.3342, allocations: 1.31 MB / 0.499 GB, free: 42.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.3343, allocations: 476.8 kB / 0.4994 GB, free: 42.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.3357, allocations: 0.5767 MB / 0.5 GB, free: 42.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/0.3391, allocations: 6.361 MB / 0.5062 GB, free: 34.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005898/0.345, allocations: 7.591 MB / 0.5136 GB, free: 25.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001643/0.3452, allocations: 39.56 kB / 0.5136 GB, free: 25.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.007435/0.3526, allocations: 5.098 MB / 0.5186 GB, free: 23.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/0.3527, allocations: 66.91 kB / 0.5187 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.3528, allocations: 138.2 kB / 0.5188 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001218/0.3529, allocations: 181 kB / 0.519 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/0.3553, allocations: 1.446 MB / 0.5204 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001939/0.3555, allocations: 273.3 kB / 0.5206 GB, free: 23.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/0.3587, allocations: 368 kB / 0.521 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004165/0.3591, allocations: 374.5 kB / 0.5214 GB, free: 23.52 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.001496/0.3606, allocations: 0.6746 MB / 0.522 GB, free: 22.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005864/0.3612, allocations: 370.4 kB / 0.5224 GB, free: 22.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.3615, allocations: 316.4 kB / 0.5227 GB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.3615, allocations: 16.94 kB / 0.5227 GB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.859e-05/0.3615, allocations: 3.5 kB / 0.5227 GB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.3615, allocations: 6.797 kB / 0.5227 GB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005916/0.3675, allocations: 4.918 MB / 0.5275 GB, free: 19.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.3675, allocations: 16 kB / 0.5275 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.3681, allocations: 283.4 kB / 0.5278 GB, free: 19.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/0.3681, allocations: 24.66 kB / 0.5278 GB, free: 19.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.3681, allocations: 47.89 kB / 0.5279 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.462e-05/0.3682, allocations: 39.08 kB / 0.5279 GB, free: 18.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/0.3682, allocations: 27.88 kB / 0.5279 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.3704, allocations: 2.493 MB / 0.5304 GB, free: 16.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006819/0.3711, allocations: 340.7 kB / 0.5307 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.3713, allocations: 52.64 kB / 0.5307 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/0.372, allocations: 96.31 kB / 0.5308 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.3722, allocations: 155.7 kB / 0.531 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.949e-05/0.3722, allocations: 66.16 kB / 0.531 GB, free: 15.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00199/0.3742, allocations: 1.497 MB / 0.5325 GB, free: 14.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.3742, allocations: 0 / 0.5325 GB, free: 14.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005104/0.3793, allocations: 0.9777 MB / 0.5334 GB, free: 13.38 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.0005091/0.3799, allocations: 220.2 kB / 0.5337 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004149/0.384, allocations: 2.627 MB / 0.5362 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.384, allocations: 7.609 kB / 0.5362 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000492/0.3845, allocations: 463.4 kB / 0.5367 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.3863, allocations: 433.5 kB / 0.5371 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009899/0.3962, allocations: 7.681 MB / 0.5446 GB, free: 2.594 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.3973, allocations: 1.191 MB / 0.5458 GB, free: 1.738 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002441/0.3998, allocations: 1.568 MB / 0.5473 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/0.4001, allocations: 235 kB / 0.5475 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of SimCode: time 3.236e-06/0.4001, allocations: 0 / 0.5475 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of Templates: time 0.03839/0.4385, allocations: 21.77 MB / 0.5688 GB, free: 12.87 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.322187952231616]