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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 109.6 kB / 18.33 MB, free: 4.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 184.5 kB / 21.5 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 207.6 MB / 232.1 MB, free: 3.121 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3715/0.3715, allocations: 44.23 MB / 328.4 MB, free: 6.68 MB / 254.1 MB " [Timeout remaining time 179] 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=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_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponents") [Timeout 660] "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.00225/0.00225, allocations: 70.67 kB / 465.5 MB, free: 45.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.153, allocations: 61.01 MB / 0.5142 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004829/0.1578, allocations: 4.139 MB / 0.5182 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003238/0.161, allocations: 1.122 MB / 0.5193 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006443/0.1617, allocations: 11.94 kB / 0.5193 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.162, allocations: 103 kB / 0.5194 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.1625, allocations: 198.2 kB / 0.5196 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.1631, allocations: 191.6 kB / 0.5198 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007426/0.1638, allocations: 0.79 MB / 0.5206 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.1642, allocations: 171.5 kB / 0.5207 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.1645, allocations: 314.9 kB / 0.521 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.1649, allocations: 338.5 kB / 0.5214 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.285e-05/0.1649, allocations: 56 kB / 0.5214 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.1651, allocations: 87.98 kB / 0.5215 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1652, allocations: 143.5 kB / 0.5216 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.1654, allocations: 342.2 kB / 0.522 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.1661, allocations: 0.7741 MB / 0.5227 GB, free: 4.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1661, allocations: 0 / 0.5227 GB, free: 4.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1661, allocations: 3.938 kB / 0.5227 GB, free: 4.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1661, allocations: 4 kB / 0.5227 GB, free: 4.527 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.001848/0.168, allocations: 1.012 MB / 0.5237 GB, free: 3.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.168, allocations: 15.84 kB / 0.5237 GB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.1682, allocations: 84.47 kB / 0.5238 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.1687, allocations: 410 kB / 0.5242 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.1687, allocations: 45.62 kB / 0.5242 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.816e-05/0.1688, allocations: 72.31 kB / 0.5243 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009788/0.1698, allocations: 0.6229 MB / 0.5249 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.1698, allocations: 7.953 kB / 0.5249 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.1699, allocations: 24 kB / 0.5249 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1699, allocations: 16 kB / 0.525 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009411/0.1708, allocations: 0.5255 MB / 0.5255 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/0.1739, allocations: 2.157 MB / 0.5276 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.1753, allocations: 0.664 MB / 0.5282 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006809/0.176, allocations: 327.1 kB / 0.5285 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.1762, allocations: 93.84 kB / 0.5286 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/0.1763, allocations: 54.92 kB / 0.5287 GB, free: 14.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.154e-06/0.1763, allocations: 0 / 0.5287 GB, free: 14.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.009158/0.1854, allocations: 4.535 MB / 0.5331 GB, free: 9.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/0.1856, allocations: 226.2 kB / 0.5333 GB, free: 8.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005527/0.1861, allocations: 357.9 kB / 0.5337 GB, free: 8.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.092e-05/0.1862, allocations: 49.69 kB / 0.5337 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.1865, allocations: 269.5 kB / 0.534 GB, free: 8.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/0.1869, allocations: 428.2 kB / 0.5344 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.1872, allocations: 179 kB / 0.5346 GB, free: 7.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.1874, allocations: 382.8 kB / 0.5349 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006589/0.1881, allocations: 318.4 kB / 0.5352 GB, free: 6.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009175/0.189, allocations: 0.4965 MB / 0.5357 GB, free: 6.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.1909, allocations: 0.8788 MB / 0.5366 GB, free: 5.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1909, allocations: 0 / 0.5366 GB, free: 5.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002207/0.1931, allocations: 1.008 MB / 0.5375 GB, free: 4.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.1932, allocations: 16 kB / 0.5376 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.1932, allocations: 4 kB / 0.5376 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.31e-05/0.1932, allocations: 15.94 kB / 0.5376 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.1944, allocations: 287.6 kB / 0.5379 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.771e-05/0.1944, allocations: 11.94 kB / 0.5379 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.1949, allocations: 47.97 kB / 0.5379 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.195, allocations: 39.98 kB / 0.538 GB, free: 4 MB / 398.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.0004384/0.1954, allocations: 237.5 kB / 0.5382 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004609/0.1959, allocations: 75.52 kB / 0.5383 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/0.1965, allocations: 214.9 kB / 0.5385 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/0.1965, allocations: 12 kB / 0.5385 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/0.1965, allocations: 0 / 0.5385 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.1965, allocations: 7.984 kB / 0.5385 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/0.2009, allocations: 2.344 MB / 0.5408 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.2009, allocations: 8.062 kB / 0.5408 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.202, allocations: 243.7 kB / 0.541 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.202, allocations: 8 kB / 0.541 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.021e-05/0.2021, allocations: 35.92 kB / 0.541 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.579e-05/0.2021, allocations: 12.34 kB / 0.5411 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.2021, allocations: 7.938 kB / 0.5411 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.2055, allocations: 1.909 MB / 0.5429 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.2059, allocations: 200.6 kB / 0.5431 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-05/0.206, allocations: 27.94 kB / 0.5431 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.2066, allocations: 43.95 kB / 0.5432 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/0.2068, allocations: 92.47 kB / 0.5433 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.718e-05/0.2069, allocations: 35.98 kB / 0.5433 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003712/0.2073, allocations: 255.1 kB / 0.5436 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2073, allocations: 4 kB / 0.5436 GB, free: 14.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001004/0.2083, allocations: 192 kB / 0.5437 GB, free: 13.89 MB / 414.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.0002521/0.2085, allocations: 139.6 kB / 0.5439 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.2102, allocations: 0.808 MB / 0.5447 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.2102, allocations: 4 kB / 0.5447 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008705/0.2111, allocations: 471.3 kB / 0.5451 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.2123, allocations: 131.6 kB / 0.5452 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.2165, allocations: 2.206 MB / 0.5474 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.2173, allocations: 0.9517 MB / 0.5483 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004227/0.2177, allocations: 101.7 kB / 0.5484 GB, free: 8.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.218, allocations: 67.42 kB / 0.5485 GB, free: 8.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.218, allocations: 0 / 0.5485 GB, free: 8.91 MB / 414.1 MB Notification: Performance of Templates: time 0.01685/0.2348, allocations: 7.745 MB / 0.5561 GB, free: 1.195 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.781380656175315]