Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.conf.json 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/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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) 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(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 111 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 198.8 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9735/0.9735, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 69.84 kB / 0.5709 GB, free: 39.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1575, allocations: 80.69 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002961/0.1606, allocations: 1.215 MB / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.1609, allocations: 43.86 kB / 0.6509 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.1609, allocations: 0 / 0.6509 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.161, allocations: 7.922 kB / 0.6509 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 8.092e-05/0.1611, allocations: 12 kB / 0.6509 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.1614, allocations: 19.95 kB / 0.651 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.1616, allocations: 107.8 kB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.358e-05/0.1616, allocations: 0 / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 9.276e-05/0.1617, allocations: 39.89 kB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1619, allocations: 35.91 kB / 0.6511 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.1619, allocations: 7.984 kB / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.1619, allocations: 4 kB / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 6.676e-05/0.162, allocations: 23.97 kB / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.1621, allocations: 31.84 kB / 0.6512 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.1622, allocations: 47.81 kB / 0.6512 GB, free: 11.49 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1622, allocations: 7.984 kB / 0.6513 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1622, allocations: 0 / 0.6513 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.1622, allocations: 4 kB / 0.6513 GB, free: 11.48 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008087/0.163, allocations: 395.4 kB / 0.6516 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1631, allocations: 19.89 kB / 0.6517 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.1632, allocations: 4.844 kB / 0.6517 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1634, allocations: 180.4 kB / 0.6518 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1634, allocations: 8.375 kB / 0.6518 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/0.1634, allocations: 16.22 kB / 0.6519 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1636, allocations: 82.2 kB / 0.6519 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1637, allocations: 8.125 kB / 0.6519 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.1637, allocations: 11.92 kB / 0.652 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.1637, allocations: 0 / 0.652 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1638, allocations: 43.95 kB / 0.652 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.1641, allocations: 213.6 kB / 0.6522 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.1645, allocations: 126.6 kB / 0.6523 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.1647, allocations: 60.92 kB / 0.6524 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.1647, allocations: 4 kB / 0.6524 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1647, allocations: 30.56 kB / 0.6524 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.1647, allocations: 0 / 0.6524 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0008405/0.1656, allocations: 311.3 kB / 0.6527 GB, free: 9.801 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.1656, allocations: 55.41 kB / 0.6528 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.1657, allocations: 97.84 kB / 0.6529 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.1657, allocations: 29.7 kB / 0.6529 GB, free: 9.594 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.1658, allocations: 86.48 kB / 0.653 GB, free: 9.508 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.1659, allocations: 51.3 kB / 0.653 GB, free: 9.457 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/0.1659, allocations: 42.05 kB / 0.6531 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1661, allocations: 318.8 kB / 0.6534 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1662, allocations: 51.95 kB / 0.6534 GB, free: 9.039 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.1663, allocations: 90.78 kB / 0.6535 GB, free: 8.938 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.1665, allocations: 156.2 kB / 0.6536 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1666, allocations: 0 / 0.6536 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004767/0.167, allocations: 234.6 kB / 0.6539 GB, free: 8.531 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1671, allocations: 7.938 kB / 0.6539 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1671, allocations: 0 / 0.6539 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003432/0.1674, allocations: 68.73 kB / 0.6539 GB, free: 8.453 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1676, allocations: 27.98 kB / 0.654 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.1692, allocations: 1.594 MB / 0.6555 GB, free: 6.684 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.1693, allocations: 3.938 kB / 0.6555 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1693, allocations: 15.98 kB / 0.6555 GB, free: 6.664 MB / 0.4983 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.1695, allocations: 125 kB / 0.6557 GB, free: 6.535 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.1695, allocations: 7.906 kB / 0.6557 GB, free: 6.527 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.1695, allocations: 11.97 kB / 0.6557 GB, free: 6.52 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1695, allocations: 0 / 0.6557 GB, free: 6.52 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1695, allocations: 8.062 kB / 0.6557 GB, free: 6.512 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1696, allocations: 3.984 kB / 0.6557 GB, free: 6.508 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.1698, allocations: 205.5 kB / 0.6559 GB, free: 6.258 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1698, allocations: 4 kB / 0.6559 GB, free: 6.254 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.1699, allocations: 23.98 kB / 0.6559 GB, free: 6.23 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00026/0.1702, allocations: 56.8 kB / 0.656 GB, free: 6.172 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.1703, allocations: 11.98 kB / 0.656 GB, free: 6.16 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.1717, allocations: 1.582 MB / 0.6575 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1718, allocations: 3.938 kB / 0.6575 GB, free: 4.438 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.1723, allocations: 257.6 kB / 0.6578 GB, free: 4.164 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.1723, allocations: 85.22 kB / 0.6579 GB, free: 4.062 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1724, allocations: 11.98 kB / 0.6579 GB, free: 4.051 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.529e-05/0.1724, allocations: 4 kB / 0.6579 GB, free: 4.047 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.1725, allocations: 15.97 kB / 0.6579 GB, free: 4.031 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1725, allocations: 11.88 kB / 0.6579 GB, free: 4.02 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.205e-05/0.1725, allocations: 79.28 kB / 0.658 GB, free: 3.941 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1725, allocations: 0 / 0.658 GB, free: 3.941 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002609/0.1728, allocations: 28 kB / 0.658 GB, free: 3.914 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[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 (9): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001375/0.1729, allocations: 115.6 kB / 0.6581 GB, free: 3.789 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000575/0.1735, allocations: 250.5 kB / 0.6583 GB, free: 3.531 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1735, allocations: 7.938 kB / 0.6584 GB, free: 3.523 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.1738, allocations: 190.6 kB / 0.6585 GB, free: 3.324 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.1741, allocations: 11.66 kB / 0.6585 GB, free: 3.316 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/0.1751, allocations: 0.6452 MB / 0.6592 GB, free: 2.648 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1754, allocations: 0.704 MB / 0.6599 GB, free: 1.918 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 6.875e-05/0.1755, allocations: 32.52 kB / 0.6599 GB, free: 1.887 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.1755, allocations: 11.44 kB / 0.6599 GB, free: 1.875 MB / 0.4983 GB Notification: Performance of SimCode: time 6.41e-07/0.1755, allocations: 0 / 0.6599 GB, free: 1.875 MB / 0.4983 GB Notification: Performance of Templates: time 0.004667/0.1802, allocations: 1.338 MB / 0.6612 GB, free: 0.582 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches