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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 96.23 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.7905/0.7905, allocations: 119.3 MB / 460.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001/0.001, allocations: 51.92 kB / 0.5391 GB, free: 43.15 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1499, allocations: 80.69 MB / 0.6179 GB, free: 12.71 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002492/0.1524, allocations: 1.266 MB / 0.6191 GB, free: 11.43 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001869/0.1527, allocations: 35.88 kB / 0.6192 GB, free: 11.39 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.1527, allocations: 0 / 0.6192 GB, free: 11.39 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.501e-05/0.1528, allocations: 4 kB / 0.6192 GB, free: 11.39 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.1529, allocations: 7.984 kB / 0.6192 GB, free: 11.38 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.1531, allocations: 15.92 kB / 0.6192 GB, free: 11.37 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1532, allocations: 87.91 kB / 0.6193 GB, free: 11.28 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.592e-05/0.1533, allocations: 0 / 0.6193 GB, free: 11.28 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.1533, allocations: 31.86 kB / 0.6193 GB, free: 11.25 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.1534, allocations: 27.95 kB / 0.6193 GB, free: 11.22 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1534, allocations: 4 kB / 0.6194 GB, free: 11.22 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.657e-05/0.1535, allocations: 0 / 0.6194 GB, free: 11.22 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.1535, allocations: 19.92 kB / 0.6194 GB, free: 11.2 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.1536, allocations: 23.86 kB / 0.6194 GB, free: 11.18 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 8.511e-05/0.1537, allocations: 39.88 kB / 0.6194 GB, free: 11.14 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1537, allocations: 0 / 0.6194 GB, free: 11.14 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1537, allocations: 0 / 0.6194 GB, free: 11.14 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1537, allocations: 4 kB / 0.6194 GB, free: 11.13 MB / 442.8 MB 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.0005822/0.1543, allocations: 367.7 kB / 0.6198 GB, free: 10.72 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.1543, allocations: 12.03 kB / 0.6198 GB, free: 10.71 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.1544, allocations: 0.9375 kB / 0.6198 GB, free: 10.71 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.1545, allocations: 180.3 kB / 0.62 GB, free: 10.5 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1546, allocations: 8.375 kB / 0.62 GB, free: 10.49 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.1546, allocations: 8.375 kB / 0.62 GB, free: 10.48 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1547, allocations: 74.16 kB / 0.6201 GB, free: 10.4 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1548, allocations: 192 / 0.6201 GB, free: 10.4 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1548, allocations: 3.938 kB / 0.6201 GB, free: 10.4 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1548, allocations: 4 kB / 0.6201 GB, free: 10.39 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/0.1549, allocations: 27.97 kB / 0.6201 GB, free: 10.37 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.1551, allocations: 185.6 kB / 0.6203 GB, free: 10.14 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.1552, allocations: 82.52 kB / 0.6203 GB, free: 10.05 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.1552, allocations: 36.78 kB / 0.6204 GB, free: 10.01 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.1553, allocations: 0 / 0.6204 GB, free: 10.01 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1553, allocations: 30.56 kB / 0.6204 GB, free: 9.969 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.1553, allocations: 0 / 0.6204 GB, free: 9.969 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002202/0.1555, allocations: 121.4 kB / 0.6205 GB, free: 9.844 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.1556, allocations: 51.41 kB / 0.6206 GB, free: 9.781 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/0.1556, allocations: 97.84 kB / 0.6207 GB, free: 9.676 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.1557, allocations: 33.7 kB / 0.6207 GB, free: 9.637 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.1557, allocations: 84.14 kB / 0.6208 GB, free: 9.551 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.1557, allocations: 39.45 kB / 0.6208 GB, free: 9.512 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.1558, allocations: 33.7 kB / 0.6209 GB, free: 9.473 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 9.479e-05/0.1559, allocations: 314.8 kB / 0.6212 GB, free: 9.156 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.156, allocations: 43.91 kB / 0.6212 GB, free: 9.113 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.64e-05/0.1561, allocations: 73.25 kB / 0.6213 GB, free: 9.027 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1562, allocations: 112.4 kB / 0.6214 GB, free: 8.902 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1562, allocations: 4 kB / 0.6214 GB, free: 8.898 MB / 442.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001878/0.1564, allocations: 149.6 kB / 0.6215 GB, free: 8.746 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1564, allocations: 11.94 kB / 0.6215 GB, free: 8.734 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1564, allocations: 0 / 0.6215 GB, free: 8.734 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1564, allocations: 4 kB / 0.6215 GB, free: 8.73 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.1566, allocations: 27.98 kB / 0.6216 GB, free: 8.703 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1566, allocations: 4 kB / 0.6216 GB, free: 8.699 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.1567, allocations: 15.91 kB / 0.6216 GB, free: 8.684 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.1567, allocations: 4 kB / 0.6216 GB, free: 8.68 MB / 442.8 MB 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 7.847e-05/0.1568, allocations: 133.6 kB / 0.6217 GB, free: 8.539 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.1568, allocations: 11.97 kB / 0.6217 GB, free: 8.527 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.1568, allocations: 11.97 kB / 0.6217 GB, free: 8.512 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1568, allocations: 0 / 0.6217 GB, free: 8.512 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1569, allocations: 0 / 0.6217 GB, free: 8.512 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1569, allocations: 0 / 0.6217 GB, free: 8.512 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.157, allocations: 181.5 kB / 0.6219 GB, free: 8.285 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.157, allocations: 4 kB / 0.6219 GB, free: 8.281 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.1572, allocations: 23.98 kB / 0.6219 GB, free: 8.258 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1572, allocations: 3.938 kB / 0.6219 GB, free: 8.254 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1572, allocations: 4.188 kB / 0.6219 GB, free: 8.25 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1572, allocations: 0 / 0.6219 GB, free: 8.25 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1573, allocations: 4 kB / 0.6219 GB, free: 8.246 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.1587, allocations: 1.346 MB / 0.6233 GB, free: 6.758 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.1588, allocations: 77.11 kB / 0.6233 GB, free: 6.664 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1588, allocations: 8 kB / 0.6233 GB, free: 6.656 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.1588, allocations: 0 / 0.6233 GB, free: 6.656 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.1589, allocations: 7.984 kB / 0.6233 GB, free: 6.648 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1589, allocations: 0 / 0.6233 GB, free: 6.648 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.124e-05/0.1589, allocations: 79.28 kB / 0.6234 GB, free: 6.57 MB / 442.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1589, allocations: 0 / 0.6234 GB, free: 6.57 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002646/0.1592, allocations: 28 kB / 0.6235 GB, free: 6.543 MB / 442.8 MB 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.0001071/0.1593, allocations: 107.2 kB / 0.6236 GB, free: 6.426 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.1595, allocations: 88.03 kB / 0.6236 GB, free: 6.34 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1595, allocations: 0 / 0.6236 GB, free: 6.34 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/0.1595, allocations: 35.92 kB / 0.6237 GB, free: 6.305 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.1597, allocations: 8 kB / 0.6237 GB, free: 6.297 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009648/0.1607, allocations: 0.7551 MB / 0.6244 GB, free: 5.5 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.161, allocations: 0.7004 MB / 0.6251 GB, free: 4.773 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 7.536e-05/0.161, allocations: 36.62 kB / 0.6251 GB, free: 4.734 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.1611, allocations: 11.44 kB / 0.6251 GB, free: 4.723 MB / 442.8 MB Notification: Performance of SimCode: time 2.1e-07/0.1611, allocations: 0 / 0.6251 GB, free: 4.723 MB / 442.8 MB Notification: Performance of Templates: time 0.002669/0.1638, allocations: 0.9169 MB / 0.626 GB, free: 3.84 MB / 442.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (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 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches