Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001504/0.001504, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001543/0.001543, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8489/0.8489, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1234/0.1234, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.23e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.172/0.1721, allocations: 10.82 MB / 309.9 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008179/0.1802, allocations: 4.105 MB / 314 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.1822, allocations: 76.69 kB / 314.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003096/0.1853, allocations: 2.634 MB / 316.8 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004227/0.1895, allocations: 1.979 MB / 318.7 MB, free: 9.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.191, allocations: 0.8769 MB / 319.6 MB, free: 8.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005008/0.196, allocations: 5.088 MB / 324.7 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002551/0.1985, allocations: 3.249 MB / 327.9 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/0.2013, allocations: 2.467 MB / 330.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003042/0.2043, allocations: 2.369 MB / 332.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006588/0.205, allocations: 332 kB / 333.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.2068, allocations: 0.9557 MB / 334.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.2086, allocations: 2.096 MB / 336.2 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.2104, allocations: 1.324 MB / 337.5 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006239/0.2166, allocations: 4.53 MB / 342 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2167, allocations: 0 / 342 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2167, allocations: 7.938 kB / 342 MB, free: 3.141 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002199/0.2169, allocations: 0 / 342 MB, free: 3.141 MB / 298.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.005072/0.2219, allocations: 4.503 MB / 346.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.222, allocations: 12.03 kB / 346.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/0.2252, allocations: 1.156 MB / 347.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.228, allocations: 1.81 MB / 349.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.2282, allocations: 250.7 kB / 349.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003902/0.2286, allocations: 324.2 kB / 350.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006319/0.2349, allocations: 5.241 MB / 355.3 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-05/0.235, allocations: 47.58 kB / 355.4 MB, free: 4.871 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.2352, allocations: 159.8 kB / 355.5 MB, free: 4.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001381/0.2366, allocations: 1.709 MB / 357.2 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004879/0.2415, allocations: 2.521 MB / 359.7 MB, free: 468 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02678/0.2683, allocations: 32.16 MB / 391.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/0.2718, allocations: 1.872 MB / 393.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/0.2722, allocations: 319.5 kB / 394.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005113/0.2774, allocations: 3.502 MB / 397.6 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.2774, allocations: 51.56 kB / 397.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of pre-optimization done (n=145): time 2.775e-06/0.2774, allocations: 0 / 397.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=157): time 0.009465/0.2869, allocations: 4.461 MB / 402.1 MB, free: 4.766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.2869, allocations: 208.9 kB / 402.3 MB, free: 4.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/0.2899, allocations: 3.202 MB / 405.5 MB, free: 1.312 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-05/0.29, allocations: 57.64 kB / 405.6 MB, free: 1.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.2914, allocations: 3.157 MB / 408.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004496/0.2918, allocations: 0.6513 MB / 409.4 MB, free: 13.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008929/0.2927, allocations: 1.168 MB / 410.5 MB, free: 12.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.2928, allocations: 309.1 kB / 410.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.294, allocations: 0.7002 MB / 411.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002716/0.2967, allocations: 4.56 MB / 416.1 MB, free: 4.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004976/0.3017, allocations: 5.79 MB / 421.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-05/0.3018, allocations: 40 kB / 421.9 MB, free: 12.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.004969/0.3068, allocations: 4.125 MB / 426.1 MB, free: 8.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/0.3068, allocations: 64 kB / 426.1 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/0.3069, allocations: 140 kB / 426.3 MB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001215/0.3071, allocations: 184 kB / 426.4 MB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/0.3096, allocations: 1.494 MB / 427.9 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001438/0.3097, allocations: 275 kB / 428.2 MB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.3121, allocations: 283.2 kB / 428.5 MB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/0.3124, allocations: 328 kB / 428.8 MB, free: 5.977 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * 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 (784): * Single equations (assignments): 781 * 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.001421/0.3138, allocations: 0.6377 MB / 429.4 MB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.3142, allocations: 215.8 kB / 429.6 MB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007053/0.3149, allocations: 0.6557 MB / 430.3 MB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.3149, allocations: 16 kB / 430.3 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3149, allocations: 0 / 430.3 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.3149, allocations: 11.97 kB / 430.3 MB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/0.3196, allocations: 4.079 MB / 434.4 MB, free: 68 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.3196, allocations: 20.03 kB / 434.4 MB, free: 48 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/0.3202, allocations: 283.5 kB / 434.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/0.3202, allocations: 24 kB / 434.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.3203, allocations: 47.98 kB / 434.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.085e-05/0.3203, allocations: 35.86 kB / 434.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/0.3203, allocations: 27.88 kB / 434.8 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.3223, allocations: 1.893 MB / 436.7 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006794/0.323, allocations: 409.5 kB / 437.1 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.3232, allocations: 51.98 kB / 437.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.3238, allocations: 43.98 kB / 437.2 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.324, allocations: 155.1 kB / 437.4 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-05/0.324, allocations: 56 kB / 437.4 MB, free: 12.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001363/0.3254, allocations: 1.337 MB / 438.8 MB, free: 11.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.3254, allocations: 0 / 438.8 MB, free: 11.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003454/0.3288, allocations: 1.012 MB / 439.8 MB, free: 10.45 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 (142): * Single equations (assignments): 139 * 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.0003444/0.3292, allocations: 199.8 kB / 440 MB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002761/0.332, allocations: 2.34 MB / 442.3 MB, free: 7.914 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001637/0.3321, allocations: 100.2 kB / 442.4 MB, free: 7.809 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.3325, allocations: 378.1 kB / 442.8 MB, free: 7.441 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.3343, allocations: 441.5 kB / 443.2 MB, free: 7.016 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009552/0.3439, allocations: 7.627 MB / 450.8 MB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.345, allocations: 1.184 MB / 452 MB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001316/0.3463, allocations: 0.5038 MB / 452.5 MB, free: 13.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006979/0.347, allocations: 0.5596 MB / 453.1 MB, free: 12.79 MB / 426.7 MB Notification: Performance of SimCode: time 1.933e-06/0.347, allocations: 4 kB / 453.1 MB, free: 12.78 MB / 426.7 MB Notification: Performance of Templates: time 0.1609/0.5078, allocations: 25.35 MB / 478.4 MB, free: 133.5 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.79136862186715]