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.001561/0.001561, allocations: 95.31 kB / 20.43 MB, free: 4.145 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: 165.3 kB / 23.8 MB, free: 0.7773 MB / 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 1.019/1.019, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1387/0.1387, allocations: 32.38 MB / 270.4 MB, free: 14.7 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 1.814e-06/1.814e-06, allocations: 3.938 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.797e-05, allocations: 2.312 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01751/0.01753, allocations: 11.06 MB / 358.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008106/0.02564, allocations: 3.984 MB / 362.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.0276, allocations: 83.56 kB / 362.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003741/0.03134, allocations: 2.678 MB / 365.5 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00401/0.03535, allocations: 1.998 MB / 367.5 MB, free: 5.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.03681, allocations: 0.8733 MB / 368.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005471/0.04228, allocations: 5.085 MB / 373.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004513/0.0468, allocations: 3.4 MB / 376.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.04993, allocations: 2.467 MB / 379.3 MB, free: 9.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003072/0.053, allocations: 2.553 MB / 381.9 MB, free: 7.102 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006982/0.0537, allocations: 340 kB / 382.2 MB, free: 6.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.05518, allocations: 0.944 MB / 383.1 MB, free: 5.824 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001662/0.05684, allocations: 2.096 MB / 385.2 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001777/0.05862, allocations: 1.347 MB / 386.6 MB, free: 2.371 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.06275, allocations: 4.573 MB / 391.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.06275, allocations: 0 / 391.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.06275, allocations: 0 / 391.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.799e-05/0.06283, allocations: 0 / 391.2 MB, free: 13.78 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.005226/0.06806, allocations: 5.326 MB / 396.5 MB, free: 8.387 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.06811, allocations: 8.031 kB / 396.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/0.07248, allocations: 2.526 MB / 399 MB, free: 5.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.07505, allocations: 2.147 MB / 401.2 MB, free: 3.648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.07519, allocations: 242.7 kB / 401.4 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/0.07555, allocations: 328.2 kB / 401.7 MB, free: 3.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007417/0.08297, allocations: 6.553 MB / 408.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.039e-05/0.08305, allocations: 43.58 kB / 408.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/0.08331, allocations: 167.8 kB / 408.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001652/0.08496, allocations: 1.896 MB / 410.4 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007402/0.09236, allocations: 3.272 MB / 413.6 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.194/0.2864, allocations: 45.41 MB / 459.1 MB, free: 63.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004473/0.2908, allocations: 2.118 MB / 461.2 MB, free: 62.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007324/0.2916, allocations: 480.9 kB / 461.6 MB, free: 62.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004429/0.296, allocations: 3.956 MB / 465.6 MB, free: 61.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.296, allocations: 54.39 kB / 465.6 MB, free: 61.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 3.036e-06/0.296, allocations: 0 / 465.6 MB, free: 61.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.01133/0.3074, allocations: 8.066 MB / 473.7 MB, free: 58.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3074, allocations: 201.7 kB / 473.9 MB, free: 58.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/0.3106, allocations: 3.543 MB / 477.5 MB, free: 57.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.3106, allocations: 51.33 kB / 477.5 MB, free: 57.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.312, allocations: 3.471 MB / 481 MB, free: 55.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.3123, allocations: 0.6795 MB / 481.7 MB, free: 54.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008984/0.3132, allocations: 1.315 MB / 483 MB, free: 54.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.3132, allocations: 476.8 kB / 483.4 MB, free: 53.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008357/0.3141, allocations: 0.5784 MB / 484 MB, free: 53.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.3164, allocations: 6.359 MB / 490.4 MB, free: 44.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004854/0.3212, allocations: 7.589 MB / 498 MB, free: 34.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.913e-05/0.3213, allocations: 37.64 kB / 498 MB, free: 34.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.005475/0.3267, allocations: 5.104 MB / 0.4913 GB, free: 30.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.3268, allocations: 67.94 kB / 0.4914 GB, free: 30 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.385e-05/0.3269, allocations: 136 kB / 0.4915 GB, free: 29.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.793e-05/0.327, allocations: 184 kB / 0.4917 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.3291, allocations: 1.435 MB / 0.4931 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001312/0.3292, allocations: 270.9 kB / 0.4933 GB, free: 27.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.3314, allocations: 371.7 kB / 0.4937 GB, free: 27.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.3316, allocations: 384 kB / 0.4941 GB, free: 27.25 MB / 378.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.0009634/0.3326, allocations: 0.6704 MB / 0.4947 GB, free: 26.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.3329, allocations: 377.7 kB / 0.4951 GB, free: 26.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/0.3337, allocations: 0.8254 MB / 0.4959 GB, free: 25.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.3337, allocations: 20 kB / 0.4959 GB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.3337, allocations: 7.125 kB / 0.4959 GB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.3337, allocations: 7.969 kB / 0.4959 GB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004551/0.3382, allocations: 4.926 MB / 0.5007 GB, free: 20.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.3383, allocations: 20 kB / 0.5007 GB, free: 20.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.3387, allocations: 283.5 kB / 0.501 GB, free: 19.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.3387, allocations: 24.78 kB / 0.501 GB, free: 19.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.3388, allocations: 44 kB / 0.5011 GB, free: 19.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.408e-05/0.3388, allocations: 35.92 kB / 0.5011 GB, free: 19.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.3388, allocations: 27.88 kB / 0.5011 GB, free: 19.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.3402, allocations: 2.503 MB / 0.5036 GB, free: 16.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/0.3406, allocations: 449.6 kB / 0.504 GB, free: 16.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.3408, allocations: 51.98 kB / 0.5041 GB, free: 16.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006181/0.3414, allocations: 106.5 kB / 0.5042 GB, free: 16.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/0.3415, allocations: 155.3 kB / 0.5043 GB, free: 16.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.3416, allocations: 68 kB / 0.5044 GB, free: 16.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.3429, allocations: 1.532 MB / 0.5059 GB, free: 14.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3429, allocations: 0 / 0.5059 GB, free: 14.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002804/0.3457, allocations: 1.008 MB / 0.5069 GB, free: 13.48 MB / 378.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.0003555/0.346, allocations: 224.7 kB / 0.5071 GB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002614/0.3486, allocations: 2.618 MB / 0.5096 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.3486, allocations: 4 kB / 0.5096 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.349, allocations: 465.4 kB / 0.5101 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.3503, allocations: 446.2 kB / 0.5105 GB, free: 9.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007152/0.3574, allocations: 7.713 MB / 0.518 GB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/0.3583, allocations: 1.195 MB / 0.5192 GB, free: 500 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002233/0.3605, allocations: 1.572 MB / 0.5207 GB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.3609, allocations: 236.4 kB / 0.521 GB, free: 14.69 MB / 394.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3609, allocations: 0 / 0.521 GB, free: 14.69 MB / 394.7 MB Notification: Performance of Templates: time 0.03619/0.3971, allocations: 22.36 MB / 0.5428 GB, free: 8.527 MB / 410.7 MB " [Timeout remaining time 660] 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.392262505367398]