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.001467/0.001467, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001555/0.001555, allocations: 207 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2412/0.2412, allocations: 46.96 MB / 360.9 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002071/0.002071, allocations: 63.91 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3983, allocations: 66.04 MB / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01339/0.4117, allocations: 9.932 MB / 0.5708 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008855/0.4206, allocations: 3.879 MB / 0.5746 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.4221, allocations: 79.56 kB / 0.5746 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004797/0.4269, allocations: 2.425 MB / 0.577 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005176/0.4321, allocations: 1.895 MB / 0.5789 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.434, allocations: 0.78 MB / 0.5796 GB, free: 1.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008802/0.4428, allocations: 4.515 MB / 0.584 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004954/0.4478, allocations: 2.767 MB / 0.5867 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003078/0.4509, allocations: 1.577 MB / 0.5883 GB, free: 8.148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004089/0.4549, allocations: 2.27 MB / 0.5905 GB, free: 5.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.4562, allocations: 336 kB / 0.5908 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.4587, allocations: 0.8583 MB / 0.5917 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002719/0.4614, allocations: 1.967 MB / 0.5936 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003044/0.4645, allocations: 1.67 MB / 0.5952 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009203/0.4737, allocations: 6.865 MB / 0.6019 GB, free: 10.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4737, allocations: 0 / 0.6019 GB, free: 10.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4737, allocations: 0 / 0.6019 GB, free: 10.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002403/0.4739, allocations: 4 kB / 0.6019 GB, free: 10.14 MB / 446.1 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.01087/0.4848, allocations: 4.837 MB / 0.6066 GB, free: 5.238 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.4848, allocations: 15.97 kB / 0.6067 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007731/0.4926, allocations: 1.971 MB / 0.6086 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006157/0.4987, allocations: 2.273 MB / 0.6108 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.499, allocations: 262.3 kB / 0.611 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000815/0.4998, allocations: 327.8 kB / 0.6114 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/0.5195, allocations: 10.33 MB / 0.6215 GB, free: 5.184 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.5196, allocations: 51.56 kB / 0.6215 GB, free: 5.133 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003949/0.52, allocations: 159.8 kB / 0.6217 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00292/0.5229, allocations: 1.908 MB / 0.6235 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01796/0.5409, allocations: 8.153 MB / 0.6315 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05437/0.5953, allocations: 36.75 MB / 0.6674 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008998/0.6043, allocations: 2.729 MB / 0.67 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/0.6062, allocations: 0.9634 MB / 0.671 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009688/0.6159, allocations: 4.289 MB / 0.6752 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.517e-05/0.6159, allocations: 47.56 kB / 0.6752 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 5.751e-06/0.6159, allocations: 0 / 0.6752 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02621/0.6422, allocations: 9.557 MB / 0.6845 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.6423, allocations: 200.9 kB / 0.6847 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006108/0.6484, allocations: 3.788 MB / 0.6884 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000202/0.6486, allocations: 49.7 kB / 0.6885 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002696/0.6513, allocations: 3.339 MB / 0.6917 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007651/0.6521, allocations: 0.6591 MB / 0.6924 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001608/0.6537, allocations: 1.231 MB / 0.6936 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6538, allocations: 305.1 kB / 0.6939 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/0.6566, allocations: 1.659 MB / 0.6955 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006472/0.6631, allocations: 5.596 MB / 0.701 GB, free: 344 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.6736, allocations: 7.796 MB / 0.7086 GB, free: 6.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001524/0.6738, allocations: 40 kB / 0.7086 GB, free: 6.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01528/0.6891, allocations: 6.914 MB / 0.7154 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.6892, allocations: 64 kB / 0.7154 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001916/0.6893, allocations: 136 kB / 0.7156 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.6896, allocations: 180 kB / 0.7157 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004598/0.6941, allocations: 1.439 MB / 0.7171 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002317/0.6944, allocations: 267 kB / 0.7174 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004301/0.6987, allocations: 299.7 kB / 0.7177 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007424/0.6994, allocations: 376 kB / 0.718 GB, free: 12.93 MB / 0.5606 GB 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.003811/0.7032, allocations: 2.048 MB / 0.72 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007374/0.704, allocations: 329.8 kB / 0.7203 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007256/0.7047, allocations: 374.6 kB / 0.7207 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.278e-05/0.7047, allocations: 19.98 kB / 0.7207 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.7047, allocations: 4 kB / 0.7207 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.7048, allocations: 3.984 kB / 0.7207 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008813/0.7136, allocations: 4.672 MB / 0.7253 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/0.7136, allocations: 23.94 kB / 0.7253 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.7147, allocations: 283.5 kB / 0.7256 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.586e-05/0.7147, allocations: 24 kB / 0.7256 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.984e-05/0.7148, allocations: 51.98 kB / 0.7257 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.24e-05/0.7149, allocations: 35.86 kB / 0.7257 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-05/0.7149, allocations: 27.88 kB / 0.7257 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004522/0.7194, allocations: 3.276 MB / 0.7289 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008253/0.7202, allocations: 309.7 kB / 0.7292 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/0.7205, allocations: 51.98 kB / 0.7293 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7216, allocations: 63.95 kB / 0.7293 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.7218, allocations: 151.3 kB / 0.7295 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.7219, allocations: 75.92 kB / 0.7295 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.3241/1.046, allocations: 2.158 MB / 0.7316 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.046, allocations: 0.625 kB / 0.7316 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006124/1.052, allocations: 0.8795 MB / 0.7325 GB, free: 150.9 MB / 0.5606 GB 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.0003898/1.052, allocations: 201 kB / 0.7327 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0059/1.058, allocations: 3.687 MB / 0.7363 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.163e-05/1.058, allocations: 5.844 kB / 0.7363 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009194/1.059, allocations: 0.7177 MB / 0.737 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1.062, allocations: 409.8 kB / 0.7374 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/1.075, allocations: 8.824 MB / 0.746 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002813/1.077, allocations: 2.626 MB / 0.7486 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00341/1.081, allocations: 1.775 MB / 0.7503 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/1.081, allocations: 223.3 kB / 0.7505 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.503e-06/1.081, allocations: 2.516 kB / 0.7505 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.04699/1.128, allocations: 24.86 MB / 0.7748 GB, free: 118.7 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.2462186347693205]