Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009826/0.0009826, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005127/0.005127, allocations: 160.2 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8601/0.8601, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.238/0.238, allocations: 34.25 MB / 295.7 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_4.1.0_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_4.1.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 4 kB / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.964e-05, allocations: 4.25 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.1627/0.1627, allocations: 3.774 MB / 447.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1638, allocations: 1.135 MB / 448.3 MB, free: 42.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.164, allocations: 19.62 kB / 448.4 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.1641, allocations: 105.2 kB / 448.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.1643, allocations: 222 kB / 448.7 MB, free: 41.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.1647, allocations: 234.4 kB / 448.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.1651, allocations: 0.8225 MB / 449.7 MB, free: 41.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.1654, allocations: 154.5 kB / 449.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.1657, allocations: 475.3 kB / 450.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.1659, allocations: 259.9 kB / 450.6 MB, free: 40.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.166, allocations: 60.12 kB / 450.6 MB, free: 40.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1661, allocations: 90.7 kB / 450.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.398e-05/0.1661, allocations: 152.7 kB / 450.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.1663, allocations: 242.8 kB / 451.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004738/0.1667, allocations: 0.8054 MB / 451.9 MB, free: 40.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1667, allocations: 0 / 451.9 MB, free: 40.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1667, allocations: 0 / 451.9 MB, free: 40.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.1667, allocations: 0 / 451.9 MB, free: 40.37 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001052/0.1678, allocations: 0.953 MB / 452.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1678, allocations: 8.625 kB / 452.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/0.1682, allocations: 147.5 kB / 453 MB, free: 39.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.1685, allocations: 354.8 kB / 453.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.1685, allocations: 47.06 kB / 453.4 MB, free: 39.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.1686, allocations: 71.27 kB / 453.5 MB, free: 39.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.1692, allocations: 0.6193 MB / 454.1 MB, free: 39.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.1692, allocations: 17.05 kB / 454.1 MB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.1692, allocations: 25.72 kB / 454.2 MB, free: 39.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1692, allocations: 14.22 kB / 454.2 MB, free: 39.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005681/0.1698, allocations: 0.5084 MB / 454.7 MB, free: 38.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.1712, allocations: 1.923 MB / 456.6 MB, free: 37.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.1719, allocations: 0.6452 MB / 457.2 MB, free: 37.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.1722, allocations: 314 kB / 457.6 MB, free: 37.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-05/0.1722, allocations: 23.05 kB / 457.6 MB, free: 37.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.1723, allocations: 48.78 kB / 457.6 MB, free: 37.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=83): time 2.464e-06/0.1723, allocations: 2.781 kB / 457.6 MB, free: 37.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=116): time 0.003712/0.176, allocations: 3.935 MB / 461.6 MB, free: 34.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.176, allocations: 227 kB / 461.8 MB, free: 34.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1762, allocations: 397.9 kB / 462.2 MB, free: 34.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1762, allocations: 48.58 kB / 462.2 MB, free: 34.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.1763, allocations: 280.2 kB / 462.5 MB, free: 34.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.1764, allocations: 423.9 kB / 462.9 MB, free: 33.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.1766, allocations: 182 kB / 463.1 MB, free: 33.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.488e-05/0.1766, allocations: 381.8 kB / 463.5 MB, free: 33.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.177, allocations: 310.6 kB / 463.8 MB, free: 33.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.1773, allocations: 0.5004 MB / 464.3 MB, free: 32.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/0.178, allocations: 0.865 MB / 465.1 MB, free: 32.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.178, allocations: 0 / 465.1 MB, free: 32.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0008776/0.1789, allocations: 0.9982 MB / 466.1 MB, free: 32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1789, allocations: 6.375 kB / 466.1 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1789, allocations: 6.312 kB / 466.1 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.179, allocations: 13.75 kB / 466.2 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.1794, allocations: 279.5 kB / 466.4 MB, free: 31.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1794, allocations: 12.94 kB / 466.4 MB, free: 31.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.1796, allocations: 43.27 kB / 466.5 MB, free: 31.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.1797, allocations: 42.58 kB / 466.5 MB, free: 31.94 MB / 410.7 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 (145): * Single equations (assignments): 145 * 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.0001585/0.1798, allocations: 238 kB / 466.8 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.1799, allocations: 78.91 kB / 466.8 MB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1802, allocations: 222.9 kB / 467 MB, free: 31.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1802, allocations: 16.22 kB / 467.1 MB, free: 31.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.1802, allocations: 3.219 kB / 467.1 MB, free: 31.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1802, allocations: 9.781 kB / 467.1 MB, free: 31.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.182, allocations: 2.058 MB / 469.1 MB, free: 30.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.182, allocations: 3.375 kB / 469.1 MB, free: 30.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.1825, allocations: 252.4 kB / 469.4 MB, free: 30.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.1825, allocations: 9.719 kB / 469.4 MB, free: 30.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.1826, allocations: 28.36 kB / 469.4 MB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.1826, allocations: 12.81 kB / 469.4 MB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1826, allocations: 6.344 kB / 469.4 MB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.1839, allocations: 1.879 MB / 471.3 MB, free: 29.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.1841, allocations: 127.1 kB / 471.4 MB, free: 29.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.1841, allocations: 29.97 kB / 471.5 MB, free: 29.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.1844, allocations: 35.14 kB / 471.5 MB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.1845, allocations: 89.78 kB / 471.6 MB, free: 29.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.1846, allocations: 32.5 kB / 471.6 MB, free: 29.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.1847, allocations: 269.4 kB / 471.9 MB, free: 28.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1847, allocations: 0 / 471.9 MB, free: 28.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005084/0.1852, allocations: 198.3 kB / 472.1 MB, free: 28.93 MB / 410.7 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 (116): * Single equations (assignments): 116 * 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.0001632/0.1854, allocations: 131.6 kB / 472.2 MB, free: 28.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00091/0.1863, allocations: 0.7949 MB / 473 MB, free: 28.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1863, allocations: 0 / 473 MB, free: 28.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.1868, allocations: 474.7 kB / 473.5 MB, free: 28.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007883/0.1875, allocations: 149.5 kB / 473.6 MB, free: 28.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.1894, allocations: 1.935 MB / 475.6 MB, free: 27.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.1897, allocations: 364.6 kB / 475.9 MB, free: 27.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.1898, allocations: 77.39 kB / 476 MB, free: 27.02 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1898, allocations: 0 / 476 MB, free: 27.02 MB / 410.7 MB Notification: Performance of Templates: time 0.01155/0.2014, allocations: 9.62 MB / 485.6 MB, free: 25.96 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.137972387485206]