Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 110.7 kB / 18.46 MB, free: 4.609 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.001678/0.001678, allocations: 187.2 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.33/1.33, allocations: 222.9 MB / 243.1 MB, free: 15.1 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.1975/0.1975, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3177, allocations: 60.81 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01047/0.3282, allocations: 10.53 MB / 0.5299 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006276/0.3345, allocations: 3.203 MB / 0.533 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.3355, allocations: 52.25 kB / 0.533 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004031/0.3396, allocations: 2.355 MB / 0.5353 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.3428, allocations: 1.278 MB / 0.5366 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.3439, allocations: 0.5118 MB / 0.5371 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003655/0.3476, allocations: 2.955 MB / 0.54 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00352/0.3511, allocations: 3.026 MB / 0.5429 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00219/0.3533, allocations: 1.279 MB / 0.5442 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002218/0.3556, allocations: 1.731 MB / 0.5459 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004839/0.3561, allocations: 292 kB / 0.5461 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.3577, allocations: 0.9947 MB / 0.5471 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.3589, allocations: 1.597 MB / 0.5487 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.3607, allocations: 1.984 MB / 0.5506 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005925/0.3666, allocations: 6.307 MB / 0.5568 GB, free: 5.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3666, allocations: 0 / 0.5568 GB, free: 5.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.3667, allocations: 3.984 kB / 0.5568 GB, free: 5.867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001225/0.3668, allocations: 0 / 0.5568 GB, free: 5.867 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.006906/0.3737, allocations: 4.358 MB / 0.561 GB, free: 1.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3738, allocations: 12.03 kB / 0.561 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006138/0.3799, allocations: 1.831 MB / 0.5628 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.3827, allocations: 1.786 MB / 0.5646 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.3829, allocations: 225.7 kB / 0.5648 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005152/0.3834, allocations: 299.8 kB / 0.5651 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/0.4016, allocations: 10.63 MB / 0.5755 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.4018, allocations: 43.62 kB / 0.5755 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005309/0.4023, allocations: 139.9 kB / 0.5756 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003523/0.4058, allocations: 2.044 MB / 0.5776 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01867/0.4245, allocations: 9.328 MB / 0.5867 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04276/0.4673, allocations: 37.9 MB / 0.6237 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/0.4784, allocations: 4.176 MB / 0.6278 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002932/0.4814, allocations: 2.309 MB / 0.6301 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008142/0.4895, allocations: 6.034 MB / 0.636 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.4896, allocations: 51.88 kB / 0.636 GB, free: 2.465 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 4.107e-06/0.4896, allocations: 0 / 0.636 GB, free: 2.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=210): time 0.06386/0.5535, allocations: 22.15 MB / 0.6577 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.5536, allocations: 153.8 kB / 0.6578 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00593/0.5596, allocations: 3.38 MB / 0.6611 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003686/0.5599, allocations: 53.7 kB / 0.6612 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00191/0.5619, allocations: 2.924 MB / 0.664 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.5629, allocations: 0.8294 MB / 0.6648 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001931/0.5648, allocations: 1.203 MB / 0.666 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.5649, allocations: 309.1 kB / 0.6663 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/0.5684, allocations: 2.331 MB / 0.6686 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005757/0.5742, allocations: 5.785 MB / 0.6742 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.5844, allocations: 8.795 MB / 0.6828 GB, free: 14.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.225e-05/0.5845, allocations: 40 kB / 0.6828 GB, free: 14.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01513/0.5996, allocations: 8.697 MB / 0.6913 GB, free: 6.133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-05/0.5998, allocations: 60 kB / 0.6914 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001513/0.5999, allocations: 120.5 kB / 0.6915 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002819/0.6027, allocations: 1.041 MB / 0.6925 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004666/0.6074, allocations: 1.376 MB / 0.6939 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005995/0.6134, allocations: 5.813 MB / 0.6995 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/0.6176, allocations: 327.6 kB / 0.6999 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008607/0.6184, allocations: 368 kB / 0.7002 GB, free: 12.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003753/0.6222, allocations: 1.932 MB / 0.7021 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000736/0.6229, allocations: 325.8 kB / 0.7024 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007484/0.6304, allocations: 3.947 MB / 0.7063 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.6305, allocations: 7.969 kB / 0.7063 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.6305, allocations: 0 / 0.7063 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006587/0.6312, allocations: 386.6 kB / 0.7066 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005623/0.6317, allocations: 32 kB / 0.7067 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/0.6334, allocations: 119.8 kB / 0.7068 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003469/0.6338, allocations: 125.1 kB / 0.7069 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008655/0.6425, allocations: 4.504 MB / 0.7113 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008217/0.6507, allocations: 6.204 MB / 0.7174 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00236/0.6531, allocations: 1.662 MB / 0.719 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003942/0.657, allocations: 2.081 MB / 0.721 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of Backend: time 6.31e-07/0.6571, allocations: 0 / 0.721 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01061/0.6677, allocations: 4.861 MB / 0.7258 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of SimCode: time 0.2543/0.922, allocations: 8.61 MB / 0.7342 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.06991/0.9919, allocations: 45.58 MB / 0.7787 GB, free: 153.6 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches