Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.001711/0.001711, allocations: 69.8 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001945/0.001945, allocations: 162.7 kB / 24.5 MB, free: 3.711 MB / 14.72 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 1.386/1.386, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.9445/0.9445, allocations: 88.08 MB / 349.3 MB, free: 1.367 MB / 318.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 68.19 kB / 0.524 GB, free: 8.246 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1652, allocations: 85.84 MB / 0.6078 GB, free: 4.871 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002483/0.1677, allocations: 1.212 MB / 0.609 GB, free: 3.648 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001925/0.1679, allocations: 43.89 kB / 0.609 GB, free: 3.605 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.1679, allocations: 0 / 0.609 GB, free: 3.605 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.973e-05/0.168, allocations: 0 / 0.609 GB, free: 3.605 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.931e-05/0.1681, allocations: 14.59 kB / 0.6091 GB, free: 3.594 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.1682, allocations: 19.91 kB / 0.6091 GB, free: 3.574 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1684, allocations: 75.84 kB / 0.6091 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.1684, allocations: 4 kB / 0.6091 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.801e-05/0.1685, allocations: 23.97 kB / 0.6092 GB, free: 3.473 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.1686, allocations: 23.97 kB / 0.6092 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1686, allocations: 8 kB / 0.6092 GB, free: 3.441 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.1686, allocations: 3.938 kB / 0.6092 GB, free: 3.438 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.1687, allocations: 15.98 kB / 0.6092 GB, free: 3.422 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.1687, allocations: 23.91 kB / 0.6092 GB, free: 3.398 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.68e-05/0.1688, allocations: 31.84 kB / 0.6093 GB, free: 3.367 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1688, allocations: 0 / 0.6093 GB, free: 3.367 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1688, allocations: 0 / 0.6093 GB, free: 3.367 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.1688, allocations: 7.875 kB / 0.6093 GB, free: 3.359 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005192/0.1693, allocations: 302.2 kB / 0.6096 GB, free: 3.031 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1694, allocations: 8.031 kB / 0.6096 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.1694, allocations: 4.938 kB / 0.6096 GB, free: 3.02 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.1696, allocations: 118.9 kB / 0.6097 GB, free: 2.879 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1696, allocations: 4.375 kB / 0.6097 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.1696, allocations: 12.33 kB / 0.6097 GB, free: 2.863 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1698, allocations: 66.22 kB / 0.6098 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1698, allocations: 192 / 0.6098 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1698, allocations: 7.938 kB / 0.6098 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1698, allocations: 4 kB / 0.6098 GB, free: 2.781 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.1699, allocations: 35.91 kB / 0.6098 GB, free: 2.746 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.1701, allocations: 137.2 kB / 0.61 GB, free: 2.582 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.1702, allocations: 62.55 kB / 0.61 GB, free: 2.512 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.1703, allocations: 32.84 kB / 0.61 GB, free: 2.477 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.1703, allocations: 0 / 0.61 GB, free: 2.477 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1703, allocations: 34.56 kB / 0.6101 GB, free: 2.434 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.1703, allocations: 3.938 kB / 0.6101 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002447/0.1705, allocations: 117.5 kB / 0.6102 GB, free: 2.309 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.1706, allocations: 55.41 kB / 0.6102 GB, free: 2.242 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/0.1707, allocations: 101.8 kB / 0.6103 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1707, allocations: 29.7 kB / 0.6104 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.1707, allocations: 84.14 kB / 0.6105 GB, free: 2.012 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.1708, allocations: 35.97 kB / 0.6105 GB, free: 1.977 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.1708, allocations: 37.7 kB / 0.6105 GB, free: 1.934 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.171, allocations: 318.8 kB / 0.6108 GB, free: 1.613 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.1711, allocations: 39.91 kB / 0.6109 GB, free: 1.574 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.1712, allocations: 75.5 kB / 0.6109 GB, free: 1.488 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.1713, allocations: 120.2 kB / 0.611 GB, free: 1.355 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1713, allocations: 4 kB / 0.6111 GB, free: 1.352 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002203/0.1716, allocations: 149.5 kB / 0.6112 GB, free: 1.199 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1716, allocations: 4 kB / 0.6112 GB, free: 1.195 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1716, allocations: 3.938 kB / 0.6112 GB, free: 1.191 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1716, allocations: 4 kB / 0.6112 GB, free: 1.188 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.1718, allocations: 39.92 kB / 0.6112 GB, free: 1.148 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1718, allocations: 0 / 0.6112 GB, free: 1.148 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.1718, allocations: 4 kB / 0.6112 GB, free: 1.145 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1718, allocations: 12.11 kB / 0.6113 GB, free: 1.133 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 9.458e-05/0.1719, allocations: 121.8 kB / 0.6114 GB, free: 1.004 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.1719, allocations: 7.953 kB / 0.6114 GB, free: 0.9961 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.172, allocations: 12.06 kB / 0.6114 GB, free: 0.9805 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.172, allocations: 0 / 0.6114 GB, free: 0.9805 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.172, allocations: 3.938 kB / 0.6114 GB, free: 0.9766 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.172, allocations: 4 kB / 0.6114 GB, free: 0.9727 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.1721, allocations: 129.2 kB / 0.6115 GB, free: 0.8164 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1721, allocations: 7.938 kB / 0.6115 GB, free: 0.8086 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.1723, allocations: 23.98 kB / 0.6116 GB, free: 0.7852 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1723, allocations: 4 kB / 0.6116 GB, free: 0.7812 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1723, allocations: 4 kB / 0.6116 GB, free: 0.7773 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.1723, allocations: 3.938 kB / 0.6116 GB, free: 0.7734 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1723, allocations: 4.125 kB / 0.6116 GB, free: 0.7695 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1726, allocations: 149.5 kB / 0.6117 GB, free: 0.6055 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.1726, allocations: 7.938 kB / 0.6117 GB, free: 0.5977 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.1726, allocations: 7.938 kB / 0.6117 GB, free: 0.5898 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.1726, allocations: 4 kB / 0.6117 GB, free: 0.5859 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.1727, allocations: 7.984 kB / 0.6117 GB, free: 0.5781 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1727, allocations: 7.938 kB / 0.6117 GB, free: 0.5703 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.1727, allocations: 79.27 kB / 0.6118 GB, free: 0.4922 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9e-08/0.1727, allocations: 4 kB / 0.6118 GB, free: 500 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001997/0.1729, allocations: 20 kB / 0.6118 GB, free: 480 kB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[4],v[1],v[2],v[3],v[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001115/0.173, allocations: 91.25 kB / 0.6119 GB, free: 380 kB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1732, allocations: 84.05 kB / 0.612 GB, free: 296 kB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1732, allocations: 0 / 0.612 GB, free: 296 kB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/0.1733, allocations: 40.14 kB / 0.6121 GB, free: 256 kB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.1734, allocations: 11.98 kB / 0.6121 GB, free: 244 kB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009345/0.1744, allocations: 0.6035 MB / 0.6127 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.495e-05/0.1745, allocations: 83.31 kB / 0.6127 GB, free: 15.5 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.66e-05/0.1745, allocations: 24.7 kB / 0.6128 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.1746, allocations: 12.5 kB / 0.6128 GB, free: 15.46 MB / 0.5295 GB Notification: Performance of SimCode: time 2.91e-07/0.1746, allocations: 0 / 0.6128 GB, free: 15.46 MB / 0.5295 GB Notification: Performance of Templates: time 0.002914/0.1775, allocations: 0.6285 MB / 0.6134 GB, free: 14.88 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -s ida -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.735543932998553]