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.001652/0.001652, allocations: 100.8 kB / 17.08 MB, free: 5.988 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.001874/0.001874, allocations: 199.3 kB / 18.02 MB, free: 5.07 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.319/1.319, allocations: 205.1 MB / 223.9 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.1981/0.1981, allocations: 43.53 MB / 314.8 MB, free: 460 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.001411/0.001411, allocations: 75.89 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1078, allocations: 57.78 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01356/0.1214, allocations: 11.45 MB / 0.4997 GB, free: 312 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008925/0.1304, allocations: 4.051 MB / 0.5037 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.1322, allocations: 67.75 kB / 0.5037 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004806/0.1371, allocations: 2.495 MB / 0.5062 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.142, allocations: 1.871 MB / 0.508 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.1439, allocations: 0.7916 MB / 0.5088 GB, free: 7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005979/0.1499, allocations: 4.453 MB / 0.5131 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004332/0.1542, allocations: 3.343 MB / 0.5164 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.1566, allocations: 1.585 MB / 0.5179 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003443/0.1601, allocations: 2.227 MB / 0.5201 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.1612, allocations: 332 kB / 0.5204 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.1636, allocations: 0.9792 MB / 0.5214 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002478/0.1661, allocations: 1.948 MB / 0.5233 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004116/0.1702, allocations: 2.26 MB / 0.5255 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2372/0.4074, allocations: 6.874 MB / 0.5322 GB, free: 17.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.4075, allocations: 0 / 0.5322 GB, free: 17.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4075, allocations: 1.375 kB / 0.5322 GB, free: 17.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001971/0.4077, allocations: 0 / 0.5322 GB, free: 17.02 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.008554/0.4163, allocations: 4.835 MB / 0.5369 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4163, allocations: 13.3 kB / 0.537 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007237/0.4236, allocations: 1.949 MB / 0.5389 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005656/0.4293, allocations: 2.471 MB / 0.5413 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.4295, allocations: 253.3 kB / 0.5415 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006015/0.4301, allocations: 336.3 kB / 0.5418 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01845/0.4485, allocations: 10.2 MB / 0.5518 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002352/0.4488, allocations: 53.95 kB / 0.5518 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006079/0.4494, allocations: 158 kB / 0.552 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002634/0.4521, allocations: 1.907 MB / 0.5539 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/0.4657, allocations: 8.148 MB / 0.5618 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04403/0.5098, allocations: 39.26 MB / 0.6002 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008221/0.5181, allocations: 3.265 MB / 0.6033 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.5198, allocations: 1.06 MB / 0.6044 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00882/0.5287, allocations: 5.92 MB / 0.6102 GB, free: 9.953 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.5287, allocations: 53.02 kB / 0.6102 GB, free: 9.898 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 4.088e-06/0.5287, allocations: 0 / 0.6102 GB, free: 9.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02215/0.5509, allocations: 9.475 MB / 0.6195 GB, free: 352 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.551, allocations: 196.4 kB / 0.6197 GB, free: 116 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005868/0.5569, allocations: 4.075 MB / 0.6236 GB, free: 12.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.557, allocations: 48.67 kB / 0.6237 GB, free: 11.96 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002603/0.5596, allocations: 3.174 MB / 0.6268 GB, free: 8.805 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007057/0.5604, allocations: 0.6442 MB / 0.6274 GB, free: 8.168 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001863/0.5622, allocations: 1.21 MB / 0.6286 GB, free: 6.945 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5624, allocations: 313.1 kB / 0.6289 GB, free: 6.637 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/0.565, allocations: 1.648 MB / 0.6305 GB, free: 4.984 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005706/0.5707, allocations: 5.528 MB / 0.6359 GB, free: 13.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009512/0.5802, allocations: 7.78 MB / 0.6435 GB, free: 4.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001586/0.5804, allocations: 40 kB / 0.6435 GB, free: 4.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01364/0.5941, allocations: 6.903 MB / 0.6503 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.5943, allocations: 64.19 kB / 0.6503 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002347/0.5945, allocations: 140 kB / 0.6505 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/0.5948, allocations: 184 kB / 0.6506 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004492/0.5993, allocations: 1.431 MB / 0.652 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000259/0.5996, allocations: 272 kB / 0.6523 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003992/0.6036, allocations: 298.4 kB / 0.6526 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007255/0.6043, allocations: 380 kB / 0.6529 GB, free: 10.88 MB / 0.4981 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.003347/0.6077, allocations: 2.044 MB / 0.6549 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000648/0.6083, allocations: 343.5 kB / 0.6553 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.6107, allocations: 1.351 MB / 0.6566 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.6107, allocations: 7.969 kB / 0.6566 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.6107, allocations: 0 / 0.6566 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.6119, allocations: 0.516 MB / 0.6571 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006078/0.6125, allocations: 27.94 kB / 0.6571 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.6137, allocations: 48.61 kB / 0.6572 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.6139, allocations: 80.41 kB / 0.6573 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003158/0.617, allocations: 1.958 MB / 0.6592 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003997/0.621, allocations: 3.181 MB / 0.6623 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009532/0.622, allocations: 0.7223 MB / 0.663 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004845/0.6269, allocations: 2.527 MB / 0.6654 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of Backend: time 5.01e-07/0.6269, allocations: 0.9844 kB / 0.6654 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007957/0.6349, allocations: 3.453 MB / 0.6688 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01428/0.6492, allocations: 8.806 MB / 0.6774 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of Templates: time 0.07019/0.7194, allocations: 35.53 MB / 0.7121 GB, free: 14.38 MB / 0.5606 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/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