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.001258/0.001258, allocations: 102.1 kB / 16.27 MB, free: 5.957 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.001428/0.001428, allocations: 187.2 kB / 17.19 MB, free: 5.594 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.599/1.599, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2409/0.2409, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 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.001446/0.001446, allocations: 69.83 kB / 382.7 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1174, allocations: 57.79 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.011/0.1284, allocations: 11.43 MB / 451.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008732/0.1372, allocations: 4.058 MB / 456 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00248/0.1397, allocations: 67.81 kB / 456.1 MB, free: 7.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005076/0.1449, allocations: 2.491 MB / 458.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006621/0.1515, allocations: 1.886 MB / 460.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.154, allocations: 0.7761 MB / 461.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007837/0.1619, allocations: 4.457 MB / 465.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005797/0.1677, allocations: 3.343 MB / 469 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.1716, allocations: 1.569 MB / 470.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/0.1757, allocations: 2.235 MB / 472.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001404/0.1771, allocations: 332 kB / 473.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.1801, allocations: 0.9753 MB / 474.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002071/0.1822, allocations: 1.94 MB / 476.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002833/0.1851, allocations: 2.26 MB / 478.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007567/0.1926, allocations: 6.635 MB / 485 MB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1927, allocations: 4 kB / 485 MB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1927, allocations: 0 / 485 MB, free: 10.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001886/0.1929, allocations: 4 kB / 485 MB, free: 10.25 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.009932/0.2028, allocations: 4.834 MB / 489.8 MB, free: 5.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.2029, allocations: 11.89 kB / 489.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007197/0.2101, allocations: 1.941 MB / 491.8 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005043/0.2152, allocations: 2.438 MB / 494.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.2154, allocations: 258.4 kB / 494.5 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006785/0.2161, allocations: 331.8 kB / 494.8 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01945/0.2356, allocations: 10.19 MB / 0.4931 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.2357, allocations: 47.53 kB / 0.4932 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004441/0.2362, allocations: 167.8 kB / 0.4933 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002993/0.2392, allocations: 1.904 MB / 0.4952 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/0.2573, allocations: 8.146 MB / 0.5032 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3486/0.6058, allocations: 39.41 MB / 0.5416 GB, free: 58.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00834/0.6142, allocations: 3.279 MB / 0.5448 GB, free: 57.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.6161, allocations: 1.055 MB / 0.5459 GB, free: 57.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009728/0.6259, allocations: 5.914 MB / 0.5516 GB, free: 55.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.626, allocations: 53.25 kB / 0.5517 GB, free: 54.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 4.699e-06/0.626, allocations: 0 / 0.5517 GB, free: 54.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.02193/0.6479, allocations: 9.487 MB / 0.561 GB, free: 50.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.648, allocations: 144.4 kB / 0.5611 GB, free: 50.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005114/0.6531, allocations: 4.077 MB / 0.5651 GB, free: 49.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.6533, allocations: 44.86 kB / 0.5651 GB, free: 49.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.6549, allocations: 3.181 MB / 0.5682 GB, free: 46.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.6553, allocations: 0.6367 MB / 0.5689 GB, free: 45.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/0.6564, allocations: 1.217 MB / 0.57 GB, free: 45.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.137e-05/0.6565, allocations: 301.1 kB / 0.5703 GB, free: 44.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.6586, allocations: 1.655 MB / 0.5719 GB, free: 44.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003606/0.6622, allocations: 5.515 MB / 0.5773 GB, free: 37.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00588/0.6681, allocations: 7.785 MB / 0.5849 GB, free: 28.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.838e-05/0.6682, allocations: 40 kB / 0.585 GB, free: 28.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.008971/0.6772, allocations: 6.913 MB / 0.5917 GB, free: 21.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.407e-05/0.6773, allocations: 64 kB / 0.5918 GB, free: 21.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/0.6774, allocations: 136 kB / 0.5919 GB, free: 21.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001215/0.6775, allocations: 183.9 kB / 0.5921 GB, free: 20.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/0.6809, allocations: 1.447 MB / 0.5935 GB, free: 19.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001351/0.681, allocations: 267 kB / 0.5938 GB, free: 19.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003573/0.6846, allocations: 291.6 kB / 0.594 GB, free: 18.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003353/0.685, allocations: 376 kB / 0.5944 GB, free: 18.52 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.002404/0.6874, allocations: 2.037 MB / 0.5964 GB, free: 16.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004879/0.6879, allocations: 347.5 kB / 0.5967 GB, free: 16.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.6897, allocations: 1.344 MB / 0.598 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.6898, allocations: 20 kB / 0.598 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.6898, allocations: 0 / 0.598 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.6898, allocations: 8.578 kB / 0.5981 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009158/0.699, allocations: 5.826 MB / 0.6037 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.699, allocations: 16 kB / 0.6038 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008571/0.6999, allocations: 285.9 kB / 0.604 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.751e-05/0.6999, allocations: 24 kB / 0.6041 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/0.7, allocations: 52.64 kB / 0.6041 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-05/0.7, allocations: 39.86 kB / 0.6041 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/0.7, allocations: 23.94 kB / 0.6042 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.703, allocations: 3.275 MB / 0.6074 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008979/0.7039, allocations: 0.5315 MB / 0.6079 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/0.7042, allocations: 51.81 kB / 0.6079 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.7052, allocations: 60.42 kB / 0.608 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.7054, allocations: 147.4 kB / 0.6081 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-05/0.7055, allocations: 68 kB / 0.6082 GB, free: 3.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002895/0.7084, allocations: 2.527 MB / 0.6107 GB, free: 1.281 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7084, allocations: 0 / 0.6107 GB, free: 1.281 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00436/0.7128, allocations: 0.9089 MB / 0.6115 GB, free: 388 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.00035/0.7131, allocations: 193.1 kB / 0.6117 GB, free: 192 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006054/0.7192, allocations: 3.984 MB / 0.6156 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/0.7192, allocations: 4 kB / 0.6156 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.7202, allocations: 0.7495 MB / 0.6164 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.7228, allocations: 487.9 kB / 0.6168 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.7376, allocations: 8.854 MB / 0.6255 GB, free: 1.945 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00357/0.7412, allocations: 3.18 MB / 0.6286 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004437/0.7456, allocations: 1.812 MB / 0.6303 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005465/0.7462, allocations: 247.4 kB / 0.6306 GB, free: 12.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.532e-06/0.7462, allocations: 0 / 0.6306 GB, free: 12.68 MB / 446.1 MB Notification: Performance of Templates: time 0.06148/0.8077, allocations: 28.75 MB / 0.6587 GB, free: 48 kB / 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 -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/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) Reference file matches