Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001349/0.00135, allocations: 110.7 kB / 18.45 MB, free: 4.613 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.001399/0.001399, allocations: 187.1 kB / 19.39 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001548, allocations: 67.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4101, allocations: 60.81 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01213/0.4223, allocations: 11.4 MB / 0.5307 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009755/0.4321, allocations: 4.031 MB / 0.5347 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003038/0.4352, allocations: 65.88 kB / 0.5347 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005709/0.4409, allocations: 2.497 MB / 0.5372 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006571/0.4475, allocations: 1.912 MB / 0.539 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.4498, allocations: 0.7858 MB / 0.5398 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008198/0.458, allocations: 4.422 MB / 0.5441 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005456/0.4635, allocations: 3.334 MB / 0.5474 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/0.4667, allocations: 1.561 MB / 0.5489 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003588/0.4703, allocations: 2.227 MB / 0.5511 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.4716, allocations: 336 kB / 0.5514 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.4744, allocations: 0.987 MB / 0.5523 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002574/0.477, allocations: 1.933 MB / 0.5542 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004422/0.4815, allocations: 2.253 MB / 0.5564 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.493, allocations: 6.902 MB / 0.5632 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4931, allocations: 0 / 0.5632 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4931, allocations: 0 / 0.5632 GB, free: 15.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003087/0.4934, allocations: 0 / 0.5632 GB, free: 15.23 MB / 430.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.01237/0.5058, allocations: 4.958 MB / 0.568 GB, free: 10.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5058, allocations: 8.031 kB / 0.568 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007727/0.5136, allocations: 1.971 MB / 0.5699 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006183/0.5198, allocations: 2.396 MB / 0.5723 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002625/0.5201, allocations: 258.4 kB / 0.5725 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001183/0.5213, allocations: 327.8 kB / 0.5728 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0204/0.5417, allocations: 10.2 MB / 0.5828 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001876/0.5419, allocations: 47.58 kB / 0.5829 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001062/0.543, allocations: 163.8 kB / 0.583 GB, free: 9.977 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003006/0.546, allocations: 1.911 MB / 0.5849 GB, free: 8.062 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/0.563, allocations: 8.142 MB / 0.5928 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04827/0.6113, allocations: 39.34 MB / 0.6312 GB, free: 7.379 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007565/0.6189, allocations: 3.269 MB / 0.6344 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001717/0.6207, allocations: 1.045 MB / 0.6355 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008719/0.6294, allocations: 5.908 MB / 0.6412 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.6295, allocations: 71.36 kB / 0.6413 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=148): time 4.188e-06/0.6295, allocations: 0 / 0.6413 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.02417/0.6537, allocations: 9.657 MB / 0.6507 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.747e-05/0.6538, allocations: 200.9 kB / 0.6509 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005756/0.6596, allocations: 4.06 MB / 0.6549 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.6598, allocations: 45.7 kB / 0.6549 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002142/0.6619, allocations: 3.314 MB / 0.6582 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006132/0.6626, allocations: 0.663 MB / 0.6588 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/0.664, allocations: 1.231 MB / 0.66 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.6641, allocations: 309 kB / 0.6603 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/0.6665, allocations: 1.652 MB / 0.6619 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004778/0.6713, allocations: 5.519 MB / 0.6673 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007931/0.6792, allocations: 7.785 MB / 0.6749 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.166e-05/0.6793, allocations: 40 kB / 0.675 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01034/0.6897, allocations: 6.92 MB / 0.6817 GB, free: 15.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.83e-05/0.6898, allocations: 64 kB / 0.6818 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/0.6899, allocations: 136.2 kB / 0.6819 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.69, allocations: 184 kB / 0.6821 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/0.694, allocations: 1.435 MB / 0.6835 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001955/0.6942, allocations: 267 kB / 0.6837 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00357/0.6978, allocations: 303.6 kB / 0.684 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004581/0.6983, allocations: 376 kB / 0.6844 GB, free: 12.32 MB / 0.545 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.002958/0.7013, allocations: 2.041 MB / 0.6864 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006902/0.702, allocations: 365.6 kB / 0.6867 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.7044, allocations: 1.337 MB / 0.688 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.7044, allocations: 7.969 kB / 0.688 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.7044, allocations: 4 kB / 0.688 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008965/0.7053, allocations: 410.4 kB / 0.6884 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007052/0.706, allocations: 27.94 kB / 0.6885 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.7072, allocations: 63.94 kB / 0.6885 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.7073, allocations: 68.91 kB / 0.6886 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002837/0.7102, allocations: 1.97 MB / 0.6905 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003779/0.714, allocations: 3.183 MB / 0.6936 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009465/0.7149, allocations: 0.7262 MB / 0.6943 GB, free: 2.051 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003772/0.7187, allocations: 2.511 MB / 0.6968 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of Backend: time 2.625e-06/0.7187, allocations: 0 / 0.6968 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007898/0.7266, allocations: 3.452 MB / 0.7001 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01924/0.7459, allocations: 8.915 MB / 0.7089 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of Templates: time 0.3675/1.113, allocations: 35.48 MB / 0.7435 GB, free: 179.2 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches