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.001675/0.001675, 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.002168/0.002168, allocations: 169 kB / 24.14 MB, free: 360 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.9264/0.9264, 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.1409/0.1409, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.345e-06/2.345e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.334e-05/3.569e-05, allocations: 2.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.1545/0.1546, allocations: 10.78 MB / 309.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007905/0.1625, allocations: 4.106 MB / 314 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.1641, allocations: 80.38 kB / 314 MB, free: 12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003017/0.1671, allocations: 2.676 MB / 316.7 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.1705, allocations: 2.006 MB / 318.7 MB, free: 9.297 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.1717, allocations: 0.8774 MB / 319.6 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003781/0.1755, allocations: 5.086 MB / 324.7 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.1781, allocations: 3.472 MB / 328.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.1808, allocations: 2.526 MB / 330.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002835/0.1837, allocations: 2.369 MB / 333.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000494/0.1842, allocations: 336 kB / 333.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.1855, allocations: 0.9206 MB / 334.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.1867, allocations: 2.084 MB / 336.4 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.1879, allocations: 1.332 MB / 337.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003385/0.1913, allocations: 4.534 MB / 342.3 MB, free: 2.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1913, allocations: 0 / 342.3 MB, free: 2.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1913, allocations: 0 / 342.3 MB, free: 2.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.133e-05/0.1913, allocations: 0 / 342.3 MB, free: 2.91 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.003975/0.1953, allocations: 4.507 MB / 346.8 MB, free: 14.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1953, allocations: 8.031 kB / 346.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.1979, allocations: 1.148 MB / 347.9 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.1996, allocations: 1.817 MB / 349.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.1997, allocations: 250.7 kB / 350 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/0.2001, allocations: 333.2 kB / 350.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004752/0.2048, allocations: 5.232 MB / 355.5 MB, free: 4.691 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.365e-05/0.2049, allocations: 43.58 kB / 355.6 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.2052, allocations: 163.9 kB / 355.7 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001394/0.2066, allocations: 1.713 MB / 357.5 MB, free: 2.773 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00355/0.2101, allocations: 2.523 MB / 360 MB, free: 228 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02714/0.2372, allocations: 32.17 MB / 392.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003977/0.2412, allocations: 1.869 MB / 394 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.2417, allocations: 320.6 kB / 394.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005055/0.2468, allocations: 3.497 MB / 397.8 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.2468, allocations: 51.5 kB / 397.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of pre-optimization done (n=145): time 3.296e-06/0.2468, allocations: 0 / 397.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=157): time 0.009463/0.2563, allocations: 4.467 MB / 402.3 MB, free: 4.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.2564, allocations: 196.9 kB / 402.5 MB, free: 4.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/0.2597, allocations: 3.213 MB / 405.7 MB, free: 1.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.2598, allocations: 45.7 kB / 405.8 MB, free: 1.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001681/0.2615, allocations: 3.161 MB / 408.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004838/0.262, allocations: 0.6474 MB / 409.6 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009228/0.2629, allocations: 1.176 MB / 410.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.263, allocations: 305.1 kB / 411.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.2641, allocations: 0.7002 MB / 411.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002985/0.267, allocations: 4.568 MB / 416.3 MB, free: 4.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004699/0.2717, allocations: 5.794 MB / 422.1 MB, free: 12.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/0.2718, allocations: 41 kB / 422.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.005623/0.2775, allocations: 4.114 MB / 426.3 MB, free: 8.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.039e-05/0.2775, allocations: 68 kB / 426.4 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/0.2777, allocations: 136 kB / 426.5 MB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001218/0.2778, allocations: 184.2 kB / 426.7 MB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.2804, allocations: 1.431 MB / 428.1 MB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001995/0.2806, allocations: 271 kB / 428.4 MB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/0.2833, allocations: 279.8 kB / 428.6 MB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003499/0.2837, allocations: 332 kB / 429 MB, free: 5.805 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.001358/0.285, allocations: 0.6416 MB / 429.6 MB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004986/0.2855, allocations: 215 kB / 429.8 MB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/0.2864, allocations: 0.6479 MB / 430.5 MB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.2864, allocations: 20 kB / 430.5 MB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2864, allocations: 4 kB / 430.5 MB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.2864, allocations: 7.969 kB / 430.5 MB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005683/0.2921, allocations: 4.074 MB / 434.6 MB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.2921, allocations: 16 kB / 434.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/0.2926, allocations: 260.5 kB / 434.8 MB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/0.2926, allocations: 24 kB / 434.9 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/0.2927, allocations: 59.92 kB / 434.9 MB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.296e-05/0.2927, allocations: 35.86 kB / 435 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.546e-05/0.2927, allocations: 31.86 kB / 435 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.2944, allocations: 1.889 MB / 436.9 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006956/0.2951, allocations: 401.5 kB / 437.3 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/0.2953, allocations: 51.92 kB / 437.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006391/0.296, allocations: 51.97 kB / 437.4 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.2961, allocations: 155.2 kB / 437.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/0.2962, allocations: 59.94 kB / 437.6 MB, free: 12.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001344/0.2975, allocations: 1.33 MB / 438.9 MB, free: 11.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2975, allocations: 4 kB / 438.9 MB, free: 11.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003411/0.3009, allocations: 1.015 MB / 439.9 MB, free: 10.29 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.0006431/0.3016, allocations: 207.7 kB / 440.1 MB, free: 10.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002936/0.3045, allocations: 2.328 MB / 442.5 MB, free: 7.766 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001746/0.3047, allocations: 100.2 kB / 442.6 MB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004015/0.3051, allocations: 387 kB / 442.9 MB, free: 7.285 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.3068, allocations: 434.3 kB / 443.4 MB, free: 6.867 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.3173, allocations: 7.623 MB / 451 MB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.3187, allocations: 1.195 MB / 452.2 MB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0014/0.3201, allocations: 0.4997 MB / 452.7 MB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007588/0.3209, allocations: 0.5557 MB / 453.2 MB, free: 12.64 MB / 426.7 MB Notification: Performance of SimCode: time 2.124e-06/0.3209, allocations: 3.938 kB / 453.2 MB, free: 12.63 MB / 426.7 MB Notification: Performance of Templates: time 0.1831/0.5039, allocations: 25.28 MB / 478.5 MB, free: 133.4 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 -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: 4.071638571098447]