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.001389/0.001389, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001458/0.001458, allocations: 161 kB / 24.56 MB, free: 16 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 0.9632/0.9632, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.2568/0.2568, allocations: 34.26 MB / 295.7 MB, free: 0.7422 MB / 266.7 MB " [Timeout remaining time 180] 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.713e-06/1.713e-06, allocations: 0 / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.174e-05, allocations: 2.312 kB / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.008631/0.008653, allocations: 10.99 MB / 389 MB, free: 7.598 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005496/0.01415, allocations: 3.983 MB / 393 MB, free: 3.602 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008343/0.01498, allocations: 79.56 kB / 393.1 MB, free: 3.523 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002979/0.01796, allocations: 2.663 MB / 395.8 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.02092, allocations: 1.963 MB / 397.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.02201, allocations: 0.8654 MB / 398.6 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003965/0.02598, allocations: 5.207 MB / 403.8 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002471/0.02845, allocations: 3.373 MB / 407.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002181/0.03063, allocations: 2.432 MB / 409.6 MB, free: 2.938 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.0327, allocations: 2.545 MB / 412.1 MB, free: 396 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003569/0.03305, allocations: 340 kB / 412.5 MB, free: 56 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.03417, allocations: 0.9167 MB / 413.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.03531, allocations: 2.073 MB / 415.5 MB, free: 13.06 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009153/0.03623, allocations: 1.32 MB / 416.8 MB, free: 11.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003177/0.0394, allocations: 4.503 MB / 421.3 MB, free: 7.215 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.03941, allocations: 0 / 421.3 MB, free: 7.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.03941, allocations: 0 / 421.3 MB, free: 7.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.468e-05/0.03944, allocations: 0 / 421.3 MB, free: 7.215 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.004715/0.04416, allocations: 5.279 MB / 426.6 MB, free: 1.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.0442, allocations: 8.031 kB / 426.6 MB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/0.04839, allocations: 2.522 MB / 429.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.05063, allocations: 2.092 MB / 431.2 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.05084, allocations: 246.7 kB / 431.4 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003414/0.05118, allocations: 336.2 kB / 431.8 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006795/0.05798, allocations: 6.572 MB / 438.3 MB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-05/0.05804, allocations: 43.64 kB / 438.4 MB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002583/0.0583, allocations: 163.8 kB / 438.5 MB, free: 4.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001564/0.05987, allocations: 1.904 MB / 440.4 MB, free: 2.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1632/0.2231, allocations: 3.278 MB / 443.7 MB, free: 76.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02444/0.2475, allocations: 45.39 MB / 489.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003772/0.2513, allocations: 2.134 MB / 491.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/0.2518, allocations: 485.8 kB / 491.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003945/0.2557, allocations: 3.945 MB / 495.7 MB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.2558, allocations: 50.61 kB / 495.7 MB, free: 39.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.396e-06/0.2558, allocations: 0 / 495.7 MB, free: 39.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.01085/0.2666, allocations: 8.026 MB / 0.4919 GB, free: 35.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.2667, allocations: 196.9 kB / 0.4921 GB, free: 35.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/0.27, allocations: 3.513 MB / 0.4955 GB, free: 33.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.2701, allocations: 55.48 kB / 0.4956 GB, free: 33.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.2714, allocations: 3.466 MB / 0.499 GB, free: 31.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/0.2718, allocations: 0.6758 MB / 0.4996 GB, free: 30.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/0.2729, allocations: 1.308 MB / 0.5009 GB, free: 30.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.653e-05/0.2729, allocations: 476.8 kB / 0.5014 GB, free: 29.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.2739, allocations: 0.5828 MB / 0.5019 GB, free: 29.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/0.2767, allocations: 6.36 MB / 0.5082 GB, free: 21.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004322/0.281, allocations: 7.587 MB / 0.5156 GB, free: 13.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.127e-05/0.2811, allocations: 38.75 kB / 0.5156 GB, free: 13.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01067/0.2917, allocations: 5.106 MB / 0.5206 GB, free: 11.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.2918, allocations: 63 kB / 0.5207 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/0.292, allocations: 137.7 kB / 0.5208 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.2922, allocations: 180.3 kB / 0.521 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004354/0.2966, allocations: 1.448 MB / 0.5224 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002491/0.2968, allocations: 268.9 kB / 0.5226 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005857/0.3027, allocations: 369.6 kB / 0.523 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008648/0.3035, allocations: 374.5 kB / 0.5233 GB, free: 11.26 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.001873/0.3054, allocations: 0.6664 MB / 0.524 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007059/0.3061, allocations: 369.9 kB / 0.5243 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.3065, allocations: 319.6 kB / 0.5246 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.3065, allocations: 22 kB / 0.5247 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.3066, allocations: 6.109 kB / 0.5247 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.3066, allocations: 7.031 kB / 0.5247 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00742/0.314, allocations: 4.916 MB / 0.5295 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/0.314, allocations: 20.25 kB / 0.5295 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/0.3147, allocations: 286.2 kB / 0.5298 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.531e-05/0.3147, allocations: 21.25 kB / 0.5298 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.798e-05/0.3148, allocations: 47.08 kB / 0.5298 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.201e-05/0.3148, allocations: 40.64 kB / 0.5299 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-05/0.3148, allocations: 26.25 kB / 0.5299 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.3173, allocations: 2.492 MB / 0.5323 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006174/0.3179, allocations: 340.6 kB / 0.5327 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.3181, allocations: 52.17 kB / 0.5327 GB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.3188, allocations: 100.9 kB / 0.5328 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.3189, allocations: 149.3 kB / 0.5329 GB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.319, allocations: 65.31 kB / 0.533 GB, free: 4.711 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002034/0.321, allocations: 1.498 MB / 0.5345 GB, free: 3.492 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.321, allocations: 0 / 0.5345 GB, free: 3.492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004222/0.3253, allocations: 0.9777 MB / 0.5354 GB, free: 2.516 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.0003791/0.3256, allocations: 226.3 kB / 0.5356 GB, free: 2.297 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0041/0.3297, allocations: 2.62 MB / 0.5382 GB, free: 0 / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.037e-05/0.3298, allocations: 4.922 kB / 0.5382 GB, free: 0 / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006108/0.3304, allocations: 472.1 kB / 0.5387 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.3324, allocations: 432.5 kB / 0.5391 GB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.3433, allocations: 7.678 MB / 0.5466 GB, free: 7.734 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/0.3446, allocations: 1.194 MB / 0.5477 GB, free: 6.875 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002564/0.3472, allocations: 1.571 MB / 0.5493 GB, free: 5.973 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/0.3476, allocations: 233.3 kB / 0.5495 GB, free: 5.754 MB / 426.7 MB Notification: Performance of SimCode: time 1.784e-06/0.3476, allocations: 0 / 0.5495 GB, free: 5.754 MB / 426.7 MB Notification: Performance of Templates: time 0.03809/0.3857, allocations: 21.76 MB / 0.5707 GB, free: 2.402 MB / 442.7 MB " [Timeout remaining time 660] 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","",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.199523624032736]