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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 107 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 196.1 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2011/0.2011, allocations: 43.51 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 70.27 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1152, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01052/0.1257, allocations: 11.42 MB / 453.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008227/0.134, allocations: 4.06 MB / 457.5 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/0.1365, allocations: 63.81 kB / 457.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00472/0.1412, allocations: 2.503 MB / 460 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005339/0.1466, allocations: 1.867 MB / 461.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.1484, allocations: 0.7878 MB / 462.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006944/0.1554, allocations: 4.46 MB / 467.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004286/0.1597, allocations: 3.339 MB / 470.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.1623, allocations: 1.573 MB / 472 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002882/0.1652, allocations: 2.231 MB / 474.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006991/0.166, allocations: 336 kB / 474.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.1679, allocations: 0.9714 MB / 475.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001763/0.1697, allocations: 1.94 MB / 477.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.1719, allocations: 2.256 MB / 479.8 MB, free: 148 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006978/0.1789, allocations: 6.878 MB / 486.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.1789, allocations: 0 / 486.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1789, allocations: 0 / 486.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001633/0.1791, allocations: 4 kB / 486.7 MB, free: 9.238 MB / 366.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.008749/0.1879, allocations: 4.83 MB / 491.5 MB, free: 4.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1879, allocations: 11.89 kB / 491.5 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006867/0.1948, allocations: 1.945 MB / 493.4 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00663/0.2015, allocations: 2.485 MB / 495.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.2017, allocations: 262.3 kB / 496.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008235/0.2025, allocations: 327.8 kB / 496.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01682/0.2194, allocations: 10.2 MB / 0.4948 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.2195, allocations: 47.53 kB / 0.4949 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003699/0.2199, allocations: 163.8 kB / 0.495 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002559/0.2225, allocations: 1.904 MB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.2374, allocations: 8.146 MB / 0.5048 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2909/0.5284, allocations: 39.25 MB / 0.5432 GB, free: 58.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008129/0.5366, allocations: 3.279 MB / 0.5464 GB, free: 57.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/0.5388, allocations: 1.051 MB / 0.5474 GB, free: 57.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009618/0.5484, allocations: 5.913 MB / 0.5532 GB, free: 54.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.5485, allocations: 45.72 kB / 0.5532 GB, free: 54.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.807e-06/0.5485, allocations: 0 / 0.5532 GB, free: 54.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.01987/0.5684, allocations: 9.483 MB / 0.5625 GB, free: 50.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.5685, allocations: 202.6 kB / 0.5627 GB, free: 50.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004405/0.5729, allocations: 4.066 MB / 0.5666 GB, free: 48.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-05/0.573, allocations: 52.92 kB / 0.5667 GB, free: 48.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.5746, allocations: 3.181 MB / 0.5698 GB, free: 45.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004689/0.5751, allocations: 0.6422 MB / 0.5704 GB, free: 45.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.5763, allocations: 1.215 MB / 0.5716 GB, free: 44.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.5764, allocations: 304.7 kB / 0.5719 GB, free: 44.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.5786, allocations: 1.653 MB / 0.5735 GB, free: 43.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00353/0.5821, allocations: 5.529 MB / 0.5789 GB, free: 37.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006228/0.5884, allocations: 7.787 MB / 0.5865 GB, free: 27.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.022e-05/0.5885, allocations: 41.62 kB / 0.5866 GB, free: 27.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.009645/0.5981, allocations: 6.905 MB / 0.5933 GB, free: 20.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.813e-05/0.5982, allocations: 66.53 kB / 0.5934 GB, free: 20.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001047/0.5983, allocations: 140.1 kB / 0.5935 GB, free: 20.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/0.5985, allocations: 183.9 kB / 0.5937 GB, free: 20.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/0.602, allocations: 1.435 MB / 0.5951 GB, free: 19.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001372/0.6022, allocations: 270.9 kB / 0.5953 GB, free: 18.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003971/0.6061, allocations: 295.5 kB / 0.5956 GB, free: 18.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003602/0.6065, allocations: 383.4 kB / 0.596 GB, free: 18.18 MB / 414.1 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.002657/0.6092, allocations: 2.034 MB / 0.598 GB, free: 16.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005078/0.6097, allocations: 347.5 kB / 0.5983 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.6114, allocations: 1.342 MB / 0.5996 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.6115, allocations: 23.94 kB / 0.5996 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.6115, allocations: 0 / 0.5996 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.6115, allocations: 7.969 kB / 0.5996 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007718/0.6192, allocations: 5.82 MB / 0.6053 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/0.6193, allocations: 23.25 kB / 0.6053 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008534/0.6201, allocations: 275.5 kB / 0.6056 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/0.6201, allocations: 24 kB / 0.6056 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.758e-05/0.6202, allocations: 48 kB / 0.6057 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.955e-05/0.6202, allocations: 40.42 kB / 0.6057 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.6203, allocations: 31.86 kB / 0.6057 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002863/0.6231, allocations: 3.273 MB / 0.6089 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.6242, allocations: 0.5238 MB / 0.6095 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.6245, allocations: 51.42 kB / 0.6095 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.6256, allocations: 59.97 kB / 0.6096 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.6257, allocations: 147.4 kB / 0.6097 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.9e-05/0.6258, allocations: 67.98 kB / 0.6098 GB, free: 3.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002929/0.6288, allocations: 2.523 MB / 0.6122 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6288, allocations: 480 / 0.6122 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004294/0.6331, allocations: 0.9114 MB / 0.6131 GB, free: 48 kB / 414.1 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.0003979/0.6335, allocations: 196.8 kB / 0.6133 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005949/0.6394, allocations: 3.834 MB / 0.6171 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/0.6395, allocations: 3.984 kB / 0.6171 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.6405, allocations: 0.7458 MB / 0.6178 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/0.6432, allocations: 477.1 kB / 0.6182 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.6579, allocations: 8.756 MB / 0.6268 GB, free: 1.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003441/0.6614, allocations: 3.185 MB / 0.6299 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003957/0.6654, allocations: 1.823 MB / 0.6317 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/0.6659, allocations: 239.4 kB / 0.6319 GB, free: 12.62 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6659, allocations: 0 / 0.6319 GB, free: 12.62 MB / 446.1 MB Notification: Performance of Templates: time 0.05061/0.7165, allocations: 23.35 MB / 0.6547 GB, free: 5.488 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches