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.001159/0.001159, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.00271, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00105/0.00105, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004342/0.005392, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9909/0.9909, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1026/1.094, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2975/0.2975, allocations: 32.79 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02891/0.3264, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.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.735e-06/2.735e-06, allocations: 0 / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.194e-05, allocations: 2.312 kB / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01274/0.01276, allocations: 10.85 MB / 301.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006592/0.01935, allocations: 4.155 MB / 305.6 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.02036, allocations: 83.62 kB / 305.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.02289, allocations: 2.53 MB / 308.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.02584, allocations: 1.936 MB / 310.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.02697, allocations: 0.7992 MB / 311 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004796/0.03177, allocations: 5.04 MB / 316 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003724/0.03549, allocations: 2.972 MB / 319 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.03855, allocations: 2.591 MB / 321.6 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.04069, allocations: 2.334 MB / 323.9 MB, free: 6.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004103/0.0411, allocations: 335.9 kB / 324.2 MB, free: 6.512 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.0423, allocations: 0.9284 MB / 325.1 MB, free: 5.582 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.0437, allocations: 1.823 MB / 327 MB, free: 3.754 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.04478, allocations: 1.059 MB / 328 MB, free: 2.691 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.04785, allocations: 4.156 MB / 332.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.04786, allocations: 0 / 332.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.04786, allocations: 0 / 332.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.602e-05/0.0479, allocations: 0 / 332.2 MB, free: 14.52 MB / 330.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.004197/0.0521, allocations: 5.336 MB / 337.5 MB, free: 9.129 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.05213, allocations: 8.031 kB / 337.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/0.05464, allocations: 1.223 MB / 338.8 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.05633, allocations: 1.77 MB / 340.5 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.05645, allocations: 246.7 kB / 340.8 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003294/0.05678, allocations: 328.2 kB / 341.1 MB, free: 5.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004845/0.06163, allocations: 5.256 MB / 346.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.311e-05/0.0617, allocations: 55.53 kB / 346.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/0.06193, allocations: 159.9 kB / 346.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001418/0.06335, allocations: 1.713 MB / 348.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003466/0.06681, allocations: 2.532 MB / 350.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02099/0.08781, allocations: 32.15 MB / 382.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003535/0.09134, allocations: 1.855 MB / 384.8 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003861/0.09173, allocations: 328 kB / 385.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004007/0.09574, allocations: 3.465 MB / 388.6 MB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.09578, allocations: 47.56 kB / 388.6 MB, free: 3.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=145): time 3.626e-06/0.09578, allocations: 0 / 388.6 MB, free: 3.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.009035/0.1048, allocations: 4.39 MB / 393 MB, free: 15.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.1049, allocations: 141.5 kB / 393.2 MB, free: 15.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/0.1074, allocations: 3.185 MB / 396.3 MB, free: 11.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.1075, allocations: 45.7 kB / 396.4 MB, free: 11.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002032/0.1095, allocations: 3.153 MB / 399.5 MB, free: 8.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.1098, allocations: 0.6513 MB / 400.2 MB, free: 8.074 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008829/0.1107, allocations: 1.168 MB / 401.4 MB, free: 6.895 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.1108, allocations: 309 kB / 401.7 MB, free: 6.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009655/0.1118, allocations: 0.7002 MB / 402.4 MB, free: 5.883 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003324/0.1151, allocations: 4.568 MB / 406.9 MB, free: 15.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004623/0.1197, allocations: 5.793 MB / 412.7 MB, free: 7.559 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.049e-05/0.1198, allocations: 40 kB / 412.8 MB, free: 7.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.004192/0.124, allocations: 4.117 MB / 416.9 MB, free: 3.387 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.124, allocations: 64 kB / 416.9 MB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.469e-05/0.1241, allocations: 140 kB / 417.1 MB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/0.1242, allocations: 184 kB / 417.3 MB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/0.1266, allocations: 1.595 MB / 418.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001294/0.1268, allocations: 271 kB / 419.1 MB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.1285, allocations: 291.8 kB / 419.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/0.1288, allocations: 328 kB / 419.7 MB, free: 0.5391 MB / 410.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.0009408/0.1297, allocations: 0.6378 MB / 420.4 MB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.13, allocations: 211.8 kB / 420.6 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.1303, allocations: 323.1 kB / 420.9 MB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.1303, allocations: 16 kB / 420.9 MB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.1303, allocations: 7.984 kB / 420.9 MB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1303, allocations: 3.984 kB / 420.9 MB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/0.1345, allocations: 4.048 MB / 425 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.1346, allocations: 16 kB / 425 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.1351, allocations: 311.5 kB / 425.3 MB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.1354, allocations: 329.6 kB / 425.6 MB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.1355, allocations: 27.94 kB / 425.6 MB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.1355, allocations: 40 kB / 425.7 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.77e-05/0.1355, allocations: 35.86 kB / 425.7 MB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/0.1355, allocations: 27.88 kB / 425.7 MB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.1368, allocations: 1.91 MB / 427.6 MB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.137, allocations: 51.98 kB / 427.7 MB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005261/0.1375, allocations: 48 kB / 427.7 MB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.1376, allocations: 155.3 kB / 427.9 MB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.1377, allocations: 52 kB / 427.9 MB, free: 7.766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001035/0.1387, allocations: 1.317 MB / 429.3 MB, free: 6.457 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1387, allocations: 0 / 429.3 MB, free: 6.457 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00238/0.1411, allocations: 0.9881 MB / 430.2 MB, free: 5.469 MB / 426.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.0005973/0.1417, allocations: 191.8 kB / 430.4 MB, free: 5.273 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.1435, allocations: 2.34 MB / 432.8 MB, free: 2.945 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001606/0.1437, allocations: 108.1 kB / 432.9 MB, free: 2.832 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.144, allocations: 386.9 kB / 433.3 MB, free: 2.457 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.1454, allocations: 0.6548 MB / 433.9 MB, free: 1.805 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1609/0.3063, allocations: 7.827 MB / 441.7 MB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.3073, allocations: 1.194 MB / 442.9 MB, free: 121.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001172/0.3085, allocations: 0.5 MB / 443.4 MB, free: 121.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/0.3091, allocations: 0.5555 MB / 444 MB, free: 121.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.814e-06/0.3091, allocations: 0 / 444 MB, free: 121.8 MB / 426.7 MB Notification: Performance of Templates: time 0.03592/0.345, allocations: 25.45 MB / 469.4 MB, free: 104.1 MB / 426.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 -ignoreHideResult -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: 3.8775349790230393]