Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 178.4 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009177/0.0009178, allocations: 91.41 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8088/0.8088, allocations: 120.5 MB / 465.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003131, allocations: 11.38 kB / 0.5464 GB, free: 41.37 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1531, allocations: 82.85 MB / 0.6273 GB, free: 7.859 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001411/0.1546, allocations: 0.9269 MB / 0.6282 GB, free: 6.926 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002002/0.1548, allocations: 35.91 kB / 0.6282 GB, free: 6.891 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.1549, allocations: 0 / 0.6282 GB, free: 6.891 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.408e-05/0.155, allocations: 7.984 kB / 0.6282 GB, free: 6.883 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.461e-05/0.155, allocations: 11.94 kB / 0.6282 GB, free: 6.871 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.1552, allocations: 11.98 kB / 0.6282 GB, free: 6.859 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.1554, allocations: 87.83 kB / 0.6283 GB, free: 6.773 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.1554, allocations: 4 kB / 0.6283 GB, free: 6.77 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.724e-05/0.1555, allocations: 27.91 kB / 0.6284 GB, free: 6.742 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.037e-05/0.1556, allocations: 27.97 kB / 0.6284 GB, free: 6.715 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.1556, allocations: 4 kB / 0.6284 GB, free: 6.711 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.913e-05/0.1556, allocations: 4 kB / 0.6284 GB, free: 6.707 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.1557, allocations: 11.98 kB / 0.6284 GB, free: 6.695 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.1558, allocations: 53.55 kB / 0.6285 GB, free: 6.637 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.317e-05/0.1558, allocations: 31.91 kB / 0.6285 GB, free: 6.605 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1558, allocations: 0 / 0.6285 GB, free: 6.605 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1559, allocations: 0 / 0.6285 GB, free: 6.605 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1559, allocations: 0 / 0.6285 GB, free: 6.605 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.0005425/0.1564, allocations: 363.7 kB / 0.6288 GB, free: 6.199 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1565, allocations: 11.97 kB / 0.6288 GB, free: 6.188 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.1565, allocations: 4.938 kB / 0.6289 GB, free: 6.184 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.1567, allocations: 176.4 kB / 0.629 GB, free: 5.973 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1567, allocations: 8.375 kB / 0.629 GB, free: 5.965 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.1567, allocations: 8.281 kB / 0.629 GB, free: 5.957 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1569, allocations: 70.22 kB / 0.6291 GB, free: 5.883 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1569, allocations: 192 / 0.6291 GB, free: 5.883 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1569, allocations: 3.938 kB / 0.6291 GB, free: 5.879 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1569, allocations: 0 / 0.6291 GB, free: 5.879 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.157, allocations: 31.97 kB / 0.6291 GB, free: 5.848 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.1572, allocations: 193.5 kB / 0.6293 GB, free: 5.609 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1574, allocations: 78.53 kB / 0.6294 GB, free: 5.523 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.1574, allocations: 28.84 kB / 0.6294 GB, free: 5.492 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.1575, allocations: 4 kB / 0.6294 GB, free: 5.488 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1575, allocations: 30.56 kB / 0.6295 GB, free: 5.449 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 1.644e-06/0.1575, allocations: 0 / 0.6295 GB, free: 5.449 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002492/0.1577, allocations: 125.7 kB / 0.6296 GB, free: 5.32 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.1578, allocations: 55.34 kB / 0.6296 GB, free: 5.254 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.1579, allocations: 101.9 kB / 0.6297 GB, free: 5.145 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1579, allocations: 25.7 kB / 0.6298 GB, free: 5.113 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.1579, allocations: 88.14 kB / 0.6298 GB, free: 5.023 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.158, allocations: 35.77 kB / 0.6299 GB, free: 4.988 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.158, allocations: 0 / 0.6299 GB, free: 4.988 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1581, allocations: 322.8 kB / 0.6302 GB, free: 4.664 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.1582, allocations: 39.97 kB / 0.6302 GB, free: 4.625 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.855e-05/0.1583, allocations: 76.2 kB / 0.6303 GB, free: 4.535 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.1584, allocations: 120.2 kB / 0.6304 GB, free: 4.402 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1584, allocations: 0 / 0.6304 GB, free: 4.402 MB / 442.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002031/0.1586, allocations: 149.4 kB / 0.6305 GB, free: 4.25 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1587, allocations: 11.92 kB / 0.6306 GB, free: 4.238 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1587, allocations: 0 / 0.6306 GB, free: 4.238 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1587, allocations: 4 kB / 0.6306 GB, free: 4.234 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.1589, allocations: 35.92 kB / 0.6306 GB, free: 4.199 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1589, allocations: 0 / 0.6306 GB, free: 4.199 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.1589, allocations: 7.906 kB / 0.6306 GB, free: 4.191 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.159, allocations: 8 kB / 0.6306 GB, free: 4.184 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 9.126e-05/0.1591, allocations: 125.8 kB / 0.6307 GB, free: 4.051 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.1591, allocations: 11.92 kB / 0.6307 GB, free: 4.039 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.1591, allocations: 7.969 kB / 0.6307 GB, free: 4.027 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1591, allocations: 0 / 0.6307 GB, free: 4.027 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1591, allocations: 8 kB / 0.6308 GB, free: 4.02 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1591, allocations: 0 / 0.6308 GB, free: 4.02 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.1593, allocations: 181.5 kB / 0.6309 GB, free: 3.793 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1593, allocations: 0 / 0.6309 GB, free: 3.793 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.1595, allocations: 35.92 kB / 0.631 GB, free: 3.758 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1595, allocations: 3.938 kB / 0.631 GB, free: 3.754 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1595, allocations: 3.984 kB / 0.631 GB, free: 3.75 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1596, allocations: 8 kB / 0.631 GB, free: 3.742 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1596, allocations: 0 / 0.631 GB, free: 3.742 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.1598, allocations: 137 kB / 0.6311 GB, free: 3.59 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.1598, allocations: 81.05 kB / 0.6312 GB, free: 3.492 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1599, allocations: 11.98 kB / 0.6312 GB, free: 3.48 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.1599, allocations: 0 / 0.6312 GB, free: 3.48 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.1599, allocations: 7.984 kB / 0.6312 GB, free: 3.473 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1599, allocations: 4 kB / 0.6312 GB, free: 3.469 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.414e-05/0.16, allocations: 79.28 kB / 0.6313 GB, free: 3.391 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.16, allocations: 7.875 kB / 0.6313 GB, free: 3.383 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001867/0.1602, allocations: 20 kB / 0.6313 GB, free: 3.363 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 9.899e-05/0.1603, allocations: 103.2 kB / 0.6314 GB, free: 3.254 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.1605, allocations: 87.83 kB / 0.6315 GB, free: 3.168 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1605, allocations: 0 / 0.6315 GB, free: 3.168 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 5.133e-05/0.1605, allocations: 40.28 kB / 0.6315 GB, free: 3.129 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.1607, allocations: 11.94 kB / 0.6315 GB, free: 3.117 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009623/0.1617, allocations: 0.748 MB / 0.6323 GB, free: 2.344 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.1619, allocations: 0.6965 MB / 0.633 GB, free: 1.621 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 7.182e-05/0.162, allocations: 24.64 kB / 0.633 GB, free: 1.59 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.162, allocations: 11.44 kB / 0.633 GB, free: 1.582 MB / 442.8 MB Notification: Performance of SimCode: time 3.01e-07/0.162, allocations: 0 / 0.633 GB, free: 1.582 MB / 442.8 MB Notification: Performance of Templates: time 0.002552/0.1646, allocations: 0.628 MB / 0.6336 GB, free: 0.957 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/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