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.00169/0.00169, allocations: 102.2 kB / 16.27 MB, free: 6.102 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.001725/0.001725, allocations: 185.9 kB / 17.19 MB, free: 5.723 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.845/1.845, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.233/0.233, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.001671/0.001671, allocations: 65.88 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1376, allocations: 57.79 MB / 440.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006317/0.144, allocations: 4.083 MB / 444.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.1465, allocations: 1.114 MB / 445.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.147, allocations: 11.94 kB / 445.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.1472, allocations: 98.95 kB / 445.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.1477, allocations: 202.2 kB / 446 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005436/0.1482, allocations: 199.6 kB / 446.2 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005628/0.1488, allocations: 0.7668 MB / 447 MB, free: 440 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.1491, allocations: 239.4 kB / 447.2 MB, free: 192 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.1494, allocations: 306.9 kB / 447.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006005/0.1501, allocations: 338.5 kB / 447.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.614e-05/0.1502, allocations: 64 kB / 447.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.1504, allocations: 83.94 kB / 448 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.1505, allocations: 147.4 kB / 448.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.1509, allocations: 346.2 kB / 448.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008565/0.1518, allocations: 0.759 MB / 449.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1518, allocations: 0 / 449.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1518, allocations: 0 / 449.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1518, allocations: 0 / 449.2 MB, free: 14.16 MB / 334.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.001933/0.1537, allocations: 0.9897 MB / 450.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1538, allocations: 15.89 kB / 450.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.1539, allocations: 76 kB / 450.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.1544, allocations: 393.8 kB / 450.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.1545, allocations: 49.62 kB / 450.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.1546, allocations: 64.19 kB / 450.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.1557, allocations: 0.623 MB / 451.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.1558, allocations: 19.83 kB / 451.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.1558, allocations: 24 kB / 451.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.1559, allocations: 16 kB / 451.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.157, allocations: 0.5255 MB / 452 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003167/0.1602, allocations: 2.169 MB / 454.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.1614, allocations: 0.7007 MB / 454.9 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.1621, allocations: 347.1 kB / 455.2 MB, free: 7.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.1623, allocations: 93.53 kB / 455.3 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.1624, allocations: 54.89 kB / 455.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=82): time 2.885e-06/0.1624, allocations: 0 / 455.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.008709/0.1711, allocations: 4.492 MB / 459.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/0.1713, allocations: 226.2 kB / 460.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.1718, allocations: 362 kB / 460.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.1719, allocations: 47.11 kB / 460.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.1721, allocations: 268.9 kB / 460.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/0.1724, allocations: 414 kB / 461.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.1727, allocations: 178.9 kB / 461.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.1729, allocations: 378.8 kB / 461.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/0.1736, allocations: 318.4 kB / 462 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007747/0.1743, allocations: 0.5082 MB / 462.5 MB, free: 40 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.1759, allocations: 0.874 MB / 463.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.176, allocations: 4 kB / 463.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002099/0.1781, allocations: 0.9996 MB / 464.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.1781, allocations: 8.719 kB / 464.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.1782, allocations: 8 kB / 464.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.889e-05/0.1782, allocations: 8 kB / 464.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.1792, allocations: 292 kB / 464.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.1793, allocations: 8.156 kB / 464.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.1797, allocations: 47.97 kB / 464.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.296e-05/0.1799, allocations: 40 kB / 464.8 MB, free: 13.69 MB / 350.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.0003905/0.1803, allocations: 233.4 kB / 465 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.1805, allocations: 83.09 kB / 465.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.181, allocations: 218.9 kB / 465.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.181, allocations: 12 kB / 465.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.1811, allocations: 4 kB / 465.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.1811, allocations: 7.969 kB / 465.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/0.1849, allocations: 2.355 MB / 467.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.1849, allocations: 288 / 467.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.1859, allocations: 255.8 kB / 467.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.1859, allocations: 15.88 kB / 468 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/0.186, allocations: 35.92 kB / 468 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.186, allocations: 8 kB / 468 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.186, allocations: 4 kB / 468 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.1887, allocations: 1.904 MB / 469.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.1889, allocations: 196.2 kB / 470.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.186e-05/0.189, allocations: 27.94 kB / 470.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.1897, allocations: 39.97 kB / 470.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.1898, allocations: 92.27 kB / 470.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/0.1899, allocations: 35.98 kB / 470.3 MB, free: 8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003057/0.1902, allocations: 251.2 kB / 470.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1902, allocations: 0 / 470.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001015/0.1913, allocations: 196 kB / 470.7 MB, free: 7.566 MB / 350.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.0003167/0.1916, allocations: 135 kB / 470.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.1938, allocations: 0.9049 MB / 471.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1938, allocations: 0 / 471.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008419/0.1946, allocations: 494.6 kB / 472.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.1959, allocations: 141.8 kB / 472.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.1998, allocations: 2.192 MB / 474.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009876/0.2008, allocations: 0.94 MB / 475.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000481/0.2013, allocations: 93.77 kB / 475.6 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.2015, allocations: 67.42 kB / 475.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of SimCode: time 1.212e-06/0.2016, allocations: 4 kB / 475.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of Templates: time 0.01711/0.2187, allocations: 7.254 MB / 482.9 MB, free: 11.29 MB / 366.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches