Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 172.4 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.6 MB / 222.4 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008346/0.0008346, allocations: 90.8 kB / 270.8 MB, free: 8.137 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4292/0.4292, allocations: 43.68 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 11.98 kB / 432.3 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1469, allocations: 58.84 MB / 491.2 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.3085/0.4554, allocations: 38.95 MB / 0.5177 GB, free: 22.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02357/0.479, allocations: 11.94 MB / 0.5293 GB, free: 13.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01031/0.4894, allocations: 178.7 kB / 0.5295 GB, free: 13.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.4912, allocations: 437.4 kB / 0.5299 GB, free: 12.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004807/0.496, allocations: 1.76 MB / 0.5317 GB, free: 12.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.4976, allocations: 0.7171 MB / 0.5324 GB, free: 11.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006778/0.5044, allocations: 6.176 MB / 0.5384 GB, free: 10.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006299/0.5108, allocations: 5.443 MB / 0.5437 GB, free: 7.156 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.5133, allocations: 1.319 MB / 0.545 GB, free: 6.703 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.5173, allocations: 2.089 MB / 0.547 GB, free: 6.062 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008623/0.5181, allocations: 152.2 kB / 0.5472 GB, free: 6.062 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.521, allocations: 0.8256 MB / 0.548 GB, free: 5.863 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002637/0.5236, allocations: 1.739 MB / 0.5497 GB, free: 5.328 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003299/0.5269, allocations: 2.037 MB / 0.5517 GB, free: 3.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.5389, allocations: 6.393 MB / 0.5579 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.539, allocations: 0 / 0.5579 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.539, allocations: 0 / 0.5579 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003031/0.5393, allocations: 1.594 kB / 0.5579 GB, free: 0.7852 MB / 378.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.01163/0.5509, allocations: 3.966 MB / 0.5618 GB, free: 14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.551, allocations: 8.812 kB / 0.5618 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007956/0.559, allocations: 1.998 MB / 0.5637 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006384/0.5654, allocations: 2.44 MB / 0.5661 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002616/0.5657, allocations: 253.3 kB / 0.5664 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.5667, allocations: 329.4 kB / 0.5667 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02075/0.5875, allocations: 10.19 MB / 0.5766 GB, free: 244 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.5877, allocations: 51.53 kB / 0.5767 GB, free: 192 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004144/0.5881, allocations: 159.9 kB / 0.5768 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002797/0.5909, allocations: 1.912 MB / 0.5787 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01876/0.6097, allocations: 8.111 MB / 0.5866 GB, free: 5.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05178/0.6615, allocations: 39.46 MB / 0.6252 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007852/0.6694, allocations: 3.277 MB / 0.6284 GB, free: 9.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.6711, allocations: 1.038 MB / 0.6294 GB, free: 8.859 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00924/0.6804, allocations: 5.908 MB / 0.6351 GB, free: 2.578 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.6804, allocations: 55.5 kB / 0.6352 GB, free: 2.516 MB / 458.7 MB Notification: Performance of pre-optimization done (n=148): time 3.927e-06/0.6805, allocations: 0 / 0.6352 GB, free: 2.516 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.02453/0.705, allocations: 9.459 MB / 0.6444 GB, free: 8.949 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.7052, allocations: 149.5 kB / 0.6446 GB, free: 8.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006323/0.7115, allocations: 4.04 MB / 0.6485 GB, free: 4.703 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/0.7118, allocations: 53.7 kB / 0.6486 GB, free: 4.645 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002298/0.7141, allocations: 3.175 MB / 0.6517 GB, free: 1.418 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007125/0.7148, allocations: 0.6404 MB / 0.6523 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.715, allocations: 124 kB / 0.6524 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000386/0.7154, allocations: 0.5623 MB / 0.653 GB, free: 80 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/0.718, allocations: 1.632 MB / 0.6546 GB, free: 14.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005169/0.7232, allocations: 5.489 MB / 0.6599 GB, free: 7.016 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009284/0.7325, allocations: 7.764 MB / 0.6675 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-05/0.7326, allocations: 40 kB / 0.6675 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01111/0.7437, allocations: 6.851 MB / 0.6742 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-05/0.7438, allocations: 64 kB / 0.6743 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.7439, allocations: 136 kB / 0.6744 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.7441, allocations: 184 kB / 0.6746 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003788/0.7479, allocations: 1.431 MB / 0.676 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000202/0.7481, allocations: 267 kB / 0.6762 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/0.7519, allocations: 303.5 kB / 0.6765 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004444/0.7524, allocations: 372 kB / 0.6769 GB, free: 3.699 MB / 0.4948 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.003624/0.756, allocations: 2.037 MB / 0.6789 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006197/0.7567, allocations: 347.5 kB / 0.6792 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2724/1.029, allocations: 1.336 MB / 0.6805 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.243e-05/1.029, allocations: 17.84 kB / 0.6805 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/1.029, allocations: 3.375 kB / 0.6805 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.496e-05/1.029, allocations: 10.45 kB / 0.6805 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/1.043, allocations: 5.82 MB / 0.6862 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/1.043, allocations: 18 kB / 0.6862 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.044, allocations: 278.1 kB / 0.6865 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.946e-05/1.044, allocations: 24.75 kB / 0.6865 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/1.044, allocations: 52.62 kB / 0.6866 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.843e-05/1.044, allocations: 40.28 kB / 0.6866 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.082e-05/1.044, allocations: 28.09 kB / 0.6866 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004564/1.049, allocations: 3.263 MB / 0.6898 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.05, allocations: 0.5241 MB / 0.6903 GB, free: 149 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/1.051, allocations: 55.59 kB / 0.6904 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/1.052, allocations: 64.31 kB / 0.6905 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/1.052, allocations: 145 kB / 0.6906 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.355e-05/1.052, allocations: 72.42 kB / 0.6907 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004814/1.057, allocations: 2.502 MB / 0.6931 GB, free: 148 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.61e-07/1.057, allocations: 0 / 0.6931 GB, free: 148 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006713/1.064, allocations: 0.9059 MB / 0.694 GB, free: 147.9 MB / 0.4948 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.000666/1.064, allocations: 213.6 kB / 0.6942 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006876/1.071, allocations: 3.744 MB / 0.6979 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/1.071, allocations: 3.281 kB / 0.6979 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/1.072, allocations: 0.7471 MB / 0.6986 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01099/1.083, allocations: 461.4 kB / 0.699 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/1.101, allocations: 10.91 MB / 0.7097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003909/1.105, allocations: 3.18 MB / 0.7128 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00541/1.11, allocations: 1.824 MB / 0.7146 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.111, allocations: 242.6 kB / 0.7148 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of SimCode: time 2.434e-06/1.111, allocations: 0 / 0.7148 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.06475/1.176, allocations: 27.52 MB / 0.7417 GB, free: 127.9 MB / 0.4948 GB 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches