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.0009157/0.0009157, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001012/0.001012, allocations: 163.9 kB / 24.99 MB, free: 8.336 MB / 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.993/0.993, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.3033/0.3033, allocations: 34.26 MB / 296 MB, free: 0.7773 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.884e-06/1.884e-06, allocations: 0 / 378 MB, free: 3.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.037e-05, allocations: 5.547 kB / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01033/0.01036, allocations: 10.95 MB / 389 MB, free: 8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006851/0.01721, allocations: 3.979 MB / 393 MB, free: 4.008 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.01993, allocations: 75.62 kB / 393 MB, free: 3.934 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003555/0.02348, allocations: 2.663 MB / 395.7 MB, free: 1.262 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.02772, allocations: 1.963 MB / 397.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.02915, allocations: 0.8615 MB / 398.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005437/0.03459, allocations: 5.203 MB / 403.7 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003692/0.03828, allocations: 3.369 MB / 407.1 MB, free: 5.797 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00392/0.0422, allocations: 2.44 MB / 409.5 MB, free: 3.352 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003253/0.04545, allocations: 2.541 MB / 412.1 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001252/0.0467, allocations: 340 kB / 412.4 MB, free: 484 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.04868, allocations: 0.9206 MB / 413.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002038/0.05072, allocations: 2.073 MB / 415.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.05227, allocations: 1.32 MB / 416.7 MB, free: 12.15 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005375/0.05765, allocations: 4.495 MB / 421.2 MB, free: 7.637 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.05765, allocations: 4 kB / 421.2 MB, free: 7.633 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.05765, allocations: 0 / 421.2 MB, free: 7.633 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001693/0.05782, allocations: 0 / 421.2 MB, free: 7.633 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.006874/0.0647, allocations: 5.279 MB / 426.5 MB, free: 2.285 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.06474, allocations: 12.03 kB / 426.5 MB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00482/0.06956, allocations: 2.514 MB / 429 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/0.07254, allocations: 2.1 MB / 431.1 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.07268, allocations: 246.7 kB / 431.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004243/0.0731, allocations: 332.1 kB / 431.7 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009496/0.0826, allocations: 6.572 MB / 438.3 MB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-05/0.08269, allocations: 43.64 kB / 438.3 MB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/0.08305, allocations: 159.8 kB / 438.5 MB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001674/0.08473, allocations: 1.911 MB / 440.4 MB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1737/0.2584, allocations: 3.282 MB / 443.6 MB, free: 94.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02802/0.2864, allocations: 45.39 MB / 489 MB, free: 57.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004557/0.291, allocations: 2.125 MB / 491.2 MB, free: 57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007245/0.2917, allocations: 475.5 kB / 491.6 MB, free: 56.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004845/0.2966, allocations: 3.95 MB / 495.6 MB, free: 54.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.2966, allocations: 52.7 kB / 495.6 MB, free: 54.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.877e-06/0.2966, allocations: 0 / 495.6 MB, free: 54.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.01348/0.3101, allocations: 8.035 MB / 0.4919 GB, free: 51.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.3102, allocations: 193.1 kB / 0.492 GB, free: 51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004133/0.3143, allocations: 3.512 MB / 0.4955 GB, free: 49.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.3144, allocations: 50.2 kB / 0.4955 GB, free: 49.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.3159, allocations: 3.472 MB / 0.4989 GB, free: 46.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005926/0.3165, allocations: 0.6833 MB / 0.4996 GB, free: 46.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/0.3178, allocations: 1.31 MB / 0.5009 GB, free: 45.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.3178, allocations: 476.8 kB / 0.5013 GB, free: 45.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.3189, allocations: 0.5805 MB / 0.5019 GB, free: 44.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/0.3217, allocations: 6.353 MB / 0.5081 GB, free: 37.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005094/0.3268, allocations: 7.592 MB / 0.5155 GB, free: 28.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002151/0.327, allocations: 43.41 kB / 0.5155 GB, free: 28.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.007901/0.3349, allocations: 5.097 MB / 0.5205 GB, free: 26.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.769e-05/0.335, allocations: 69.56 kB / 0.5206 GB, free: 26.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/0.3351, allocations: 135.5 kB / 0.5207 GB, free: 26.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/0.3352, allocations: 182.3 kB / 0.5209 GB, free: 26.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/0.3377, allocations: 1.442 MB / 0.5223 GB, free: 26.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00014/0.3378, allocations: 269.5 kB / 0.5225 GB, free: 26.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/0.3409, allocations: 367.6 kB / 0.5229 GB, free: 25.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003597/0.3412, allocations: 374 kB / 0.5233 GB, free: 25.77 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.001214/0.3424, allocations: 0.6705 MB / 0.5239 GB, free: 25.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/0.3428, allocations: 373.8 kB / 0.5243 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.3431, allocations: 324.5 kB / 0.5246 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.3431, allocations: 16 kB / 0.5246 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/0.3431, allocations: 4 kB / 0.5246 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.3432, allocations: 7.578 kB / 0.5246 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005458/0.3486, allocations: 4.914 MB / 0.5294 GB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.3486, allocations: 16 kB / 0.5294 GB, free: 19.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005484/0.3492, allocations: 284.1 kB / 0.5297 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/0.3492, allocations: 25.78 kB / 0.5297 GB, free: 19.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.3493, allocations: 52.31 kB / 0.5298 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.661e-05/0.3493, allocations: 39.72 kB / 0.5298 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.3493, allocations: 24.48 kB / 0.5298 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.3511, allocations: 2.487 MB / 0.5323 GB, free: 16.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005388/0.3516, allocations: 336.3 kB / 0.5326 GB, free: 16.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.3518, allocations: 52.41 kB / 0.5326 GB, free: 16.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000686/0.3525, allocations: 105.2 kB / 0.5327 GB, free: 16.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.3527, allocations: 148.4 kB / 0.5329 GB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.3527, allocations: 73.84 kB / 0.5329 GB, free: 16.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001855/0.3546, allocations: 1.502 MB / 0.5344 GB, free: 14.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3546, allocations: 0 / 0.5344 GB, free: 14.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003776/0.3584, allocations: 0.9811 MB / 0.5354 GB, free: 13.87 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.0003556/0.3587, allocations: 208.4 kB / 0.5356 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003932/0.3626, allocations: 2.616 MB / 0.5381 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.3627, allocations: 4.812 kB / 0.5381 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.3631, allocations: 468.7 kB / 0.5386 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.3648, allocations: 430.6 kB / 0.539 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009406/0.3742, allocations: 7.682 MB / 0.5465 GB, free: 3.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.3753, allocations: 1.193 MB / 0.5476 GB, free: 2.234 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002534/0.3778, allocations: 1.58 MB / 0.5492 GB, free: 1.324 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.3781, allocations: 227 kB / 0.5494 GB, free: 1.113 MB / 410.7 MB Notification: Performance of SimCode: time 1.984e-06/0.3781, allocations: 0 / 0.5494 GB, free: 1.113 MB / 410.7 MB Notification: Performance of Templates: time 0.03861/0.4168, allocations: 21.77 MB / 0.5707 GB, free: 12.17 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.344072402920574]