Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 98.89 kB / 15.98 MB, free: 6.344 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.001582/0.001582, allocations: 195 kB / 16.91 MB, free: 6.18 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.67/1.67, allocations: 205.1 MB / 222.8 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4181/0.4181, allocations: 43.5 MB / 313.6 MB, free: 8.473 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.001775/0.001775, allocations: 63.91 kB / 382.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1589, allocations: 57.79 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.007477/0.1664, allocations: 4.116 MB / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.1696, allocations: 1.107 MB / 445.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003897/0.17, allocations: 15.94 kB / 445.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.1703, allocations: 71.39 kB / 445.3 MB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004539/0.1708, allocations: 178.5 kB / 445.5 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.1715, allocations: 163.8 kB / 445.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008102/0.1723, allocations: 0.7784 MB / 446.4 MB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004174/0.1727, allocations: 243.7 kB / 446.6 MB, free: 8.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.1731, allocations: 302.9 kB / 446.9 MB, free: 7.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.1734, allocations: 334.5 kB / 447.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.427e-05/0.1735, allocations: 56 kB / 447.3 MB, free: 7.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.1737, allocations: 91.94 kB / 447.4 MB, free: 7.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.1739, allocations: 147.4 kB / 447.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.1742, allocations: 346.2 kB / 447.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009684/0.1752, allocations: 0.759 MB / 448.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1752, allocations: 0 / 448.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1752, allocations: 0 / 448.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.1753, allocations: 0 / 448.7 MB, free: 6.031 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002411/0.1777, allocations: 0.9975 MB / 449.7 MB, free: 4.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.747e-05/0.1778, allocations: 11.89 kB / 449.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.1779, allocations: 80 kB / 449.7 MB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00069/0.1786, allocations: 393.8 kB / 450.1 MB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.623e-05/0.1787, allocations: 45.69 kB / 450.2 MB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.1789, allocations: 64.28 kB / 450.2 MB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.1803, allocations: 0.6229 MB / 450.9 MB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/0.1803, allocations: 19.8 kB / 450.9 MB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.861e-05/0.1804, allocations: 24 kB / 450.9 MB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.1804, allocations: 12 kB / 450.9 MB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.1816, allocations: 0.5332 MB / 451.4 MB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/0.1851, allocations: 2.165 MB / 453.6 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.1863, allocations: 0.6989 MB / 454.3 MB, free: 80 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3112/0.4976, allocations: 336.1 kB / 454.6 MB, free: 48.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.4978, allocations: 97.84 kB / 454.7 MB, free: 48.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.4979, allocations: 51.81 kB / 454.8 MB, free: 48.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.566e-06/0.4979, allocations: 0 / 454.8 MB, free: 48.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.008684/0.5066, allocations: 4.491 MB / 459.3 MB, free: 46.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.5068, allocations: 226.9 kB / 459.5 MB, free: 46.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.5072, allocations: 363 kB / 459.9 MB, free: 46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.5073, allocations: 46.39 kB / 459.9 MB, free: 45.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.5074, allocations: 263.7 kB / 460.2 MB, free: 45.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.5077, allocations: 412.9 kB / 460.6 MB, free: 45.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.5079, allocations: 183.2 kB / 460.7 MB, free: 45.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5081, allocations: 375.7 kB / 461.1 MB, free: 45.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000583/0.5087, allocations: 315.8 kB / 461.4 MB, free: 45.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.5093, allocations: 0.5113 MB / 461.9 MB, free: 44.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.5106, allocations: 0.8786 MB / 462.8 MB, free: 44.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.5106, allocations: 0.5 kB / 462.8 MB, free: 44.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001661/0.5123, allocations: 1.013 MB / 463.8 MB, free: 44.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.5123, allocations: 5.781 kB / 463.8 MB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.5124, allocations: 8.938 kB / 463.8 MB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.792e-05/0.5124, allocations: 9.375 kB / 463.8 MB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009794/0.5134, allocations: 286.5 kB / 464.1 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.5134, allocations: 12.66 kB / 464.1 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.5139, allocations: 50.39 kB / 464.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/0.514, allocations: 41.33 kB / 464.2 MB, free: 44.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * 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.0003876/0.5144, allocations: 226.4 kB / 464.4 MB, free: 43.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.5147, allocations: 76.94 kB / 464.5 MB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.5152, allocations: 224.8 kB / 464.7 MB, free: 43.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.5153, allocations: 14.89 kB / 464.8 MB, free: 43.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-05/0.5153, allocations: 3.344 kB / 464.8 MB, free: 43.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.5153, allocations: 5.141 kB / 464.8 MB, free: 43.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.5189, allocations: 2.344 MB / 467.1 MB, free: 42.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.5189, allocations: 6.656 kB / 467.1 MB, free: 42.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009961/0.5199, allocations: 257 kB / 467.4 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.52, allocations: 13.28 kB / 467.4 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.765e-05/0.52, allocations: 24.44 kB / 467.4 MB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.52, allocations: 9.938 kB / 467.4 MB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.52, allocations: 6.562 kB / 467.4 MB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.5224, allocations: 1.907 MB / 469.3 MB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/0.5227, allocations: 199.5 kB / 469.5 MB, free: 41.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.003e-05/0.5228, allocations: 28.88 kB / 469.5 MB, free: 41.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.5234, allocations: 43.28 kB / 469.6 MB, free: 41.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.5236, allocations: 88.33 kB / 469.7 MB, free: 41.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/0.5236, allocations: 35.11 kB / 469.7 MB, free: 41.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003152/0.5239, allocations: 251.9 kB / 470 MB, free: 40.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.524, allocations: 0 / 470 MB, free: 40.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001052/0.525, allocations: 194 kB / 470.1 MB, free: 40.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * 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.0002311/0.5253, allocations: 143.8 kB / 470.3 MB, free: 40.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.5272, allocations: 0.889 MB / 471.2 MB, free: 40.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5272, allocations: 3.062 kB / 471.2 MB, free: 40.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007257/0.528, allocations: 492.1 kB / 471.7 MB, free: 40.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.5293, allocations: 138.2 kB / 471.8 MB, free: 40.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.5328, allocations: 2.5 MB / 474.3 MB, free: 38.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.5333, allocations: 0.9451 MB / 475.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005291/0.5339, allocations: 98.94 kB / 475.3 MB, free: 37.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.5341, allocations: 66.89 kB / 475.4 MB, free: 37.88 MB / 382.1 MB Notification: Performance of SimCode: time 2.394e-06/0.5341, allocations: 0 / 475.4 MB, free: 37.88 MB / 382.1 MB Notification: Performance of Templates: time 0.01348/0.5476, allocations: 7.045 MB / 482.4 MB, free: 37.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches