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.001774/0.001774, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002254/0.002254, allocations: 214.9 kB / 22.99 MB, free: 4.977 MB / 14.72 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.679/1.679, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.2496/0.2496, allocations: 44.26 MB / 330.3 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 63.91 kB / 468 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1638, allocations: 61.06 MB / 0.5167 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01502/0.1788, allocations: 9.995 MB / 0.5264 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.1892, allocations: 3.872 MB / 0.5302 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.1915, allocations: 75.62 kB / 0.5303 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006481/0.198, allocations: 2.441 MB / 0.5327 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00758/0.2056, allocations: 1.934 MB / 0.5345 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.2082, allocations: 0.8034 MB / 0.5353 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3018/0.5101, allocations: 4.44 MB / 0.5397 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00449/0.5146, allocations: 2.779 MB / 0.5424 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003192/0.5177, allocations: 1.611 MB / 0.544 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004553/0.5223, allocations: 2.281 MB / 0.5462 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001264/0.5236, allocations: 332.5 kB / 0.5465 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.526, allocations: 0.8805 MB / 0.5474 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002664/0.5287, allocations: 1.986 MB / 0.5493 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002883/0.5315, allocations: 1.688 MB / 0.5509 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.5439, allocations: 6.939 MB / 0.5577 GB, free: 7.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.181e-05/0.5439, allocations: 2.203 kB / 0.5577 GB, free: 7.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.5439, allocations: 0.9688 kB / 0.5577 GB, free: 7.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003585/0.5442, allocations: 0 / 0.5577 GB, free: 7.926 MB / 414.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.01924/0.5635, allocations: 4.891 MB / 0.5625 GB, free: 5.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/0.5635, allocations: 9.469 kB / 0.5625 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008415/0.5719, allocations: 1.977 MB / 0.5644 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009937/0.5819, allocations: 2.432 MB / 0.5668 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000315/0.5822, allocations: 248.2 kB / 0.567 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/0.5841, allocations: 338.8 kB / 0.5674 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02461/0.6087, allocations: 10.3 MB / 0.5774 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001461/0.6088, allocations: 52.75 kB / 0.5775 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004829/0.6093, allocations: 161.2 kB / 0.5776 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003259/0.6126, allocations: 1.904 MB / 0.5795 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/0.6313, allocations: 8.125 MB / 0.5874 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05803/0.6893, allocations: 36.79 MB / 0.6234 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008553/0.6979, allocations: 2.693 MB / 0.626 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.6997, allocations: 0.9552 MB / 0.6269 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009926/0.7096, allocations: 4.275 MB / 0.6311 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.435e-05/0.7097, allocations: 55.64 kB / 0.6312 GB, free: 10.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 6.022e-06/0.7097, allocations: 4.797 kB / 0.6312 GB, free: 10.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02606/0.7357, allocations: 9.519 MB / 0.6405 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/0.7359, allocations: 204.4 kB / 0.6406 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006492/0.7424, allocations: 3.82 MB / 0.6444 GB, free: 12.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003609/0.7428, allocations: 49.7 kB / 0.6444 GB, free: 12.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003576/0.7463, allocations: 3.337 MB / 0.6477 GB, free: 9.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001332/0.7477, allocations: 0.6674 MB / 0.6483 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002092/0.7498, allocations: 1.229 MB / 0.6495 GB, free: 7.504 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.75, allocations: 305.1 kB / 0.6498 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003508/0.7535, allocations: 1.655 MB / 0.6514 GB, free: 5.547 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007415/0.7609, allocations: 5.571 MB / 0.6569 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/0.773, allocations: 7.786 MB / 0.6645 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001714/0.7731, allocations: 40.81 kB / 0.6645 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01676/0.7899, allocations: 6.885 MB / 0.6712 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.79, allocations: 71.53 kB / 0.6713 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002371/0.7903, allocations: 136 kB / 0.6714 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.7905, allocations: 183.9 kB / 0.6716 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005368/0.7958, allocations: 1.435 MB / 0.673 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002851/0.7961, allocations: 267 kB / 0.6733 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005347/0.8015, allocations: 294.4 kB / 0.6736 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009913/0.8025, allocations: 382 kB / 0.6739 GB, free: 10.88 MB / 0.5137 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.004711/0.8072, allocations: 2.051 MB / 0.6759 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007992/0.808, allocations: 321.8 kB / 0.6762 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/0.8107, allocations: 1.304 MB / 0.6775 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-05/0.8107, allocations: 24 kB / 0.6775 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.8107, allocations: 0 / 0.6775 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.8107, allocations: 3.984 kB / 0.6775 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.8213, allocations: 4.668 MB / 0.6821 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/0.8213, allocations: 17 kB / 0.6821 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.8224, allocations: 283.5 kB / 0.6824 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.093e-05/0.8225, allocations: 31.94 kB / 0.6824 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.8226, allocations: 44 kB / 0.6824 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.205e-05/0.8226, allocations: 35.86 kB / 0.6825 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.502e-05/0.8226, allocations: 27.88 kB / 0.6825 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005295/0.8279, allocations: 3.249 MB / 0.6857 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/0.8301, allocations: 434.2 kB / 0.6861 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/0.8306, allocations: 50.33 kB / 0.6861 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.8317, allocations: 63.97 kB / 0.6862 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.832, allocations: 151.3 kB / 0.6864 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.8321, allocations: 68 kB / 0.6864 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004602/0.8367, allocations: 2.188 MB / 0.6886 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8367, allocations: 0 / 0.6886 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006738/0.8434, allocations: 0.8935 MB / 0.6894 GB, free: 10.51 MB / 0.5294 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.0006259/0.8441, allocations: 201.6 kB / 0.6896 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007863/0.8519, allocations: 3.686 MB / 0.6932 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.463e-05/0.852, allocations: 0 / 0.6932 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.8533, allocations: 0.7016 MB / 0.6939 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/0.8566, allocations: 416.2 kB / 0.6943 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/0.8772, allocations: 8.85 MB / 0.7029 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004994/0.8822, allocations: 2.646 MB / 0.7055 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004745/0.8869, allocations: 1.778 MB / 0.7073 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006514/0.8876, allocations: 219.4 kB / 0.7075 GB, free: 7.773 MB / 0.545 GB Notification: Performance of SimCode: time 1.342e-06/0.8876, allocations: 0 / 0.7075 GB, free: 7.773 MB / 0.545 GB Notification: Performance of Templates: time 0.06392/0.9515, allocations: 25.14 MB / 0.732 GB, free: 14.75 MB / 0.5762 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.4339951407164335]