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.001468/0.001469, allocations: 120.4 kB / 17.74 MB, free: 5.148 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.001461/0.001461, allocations: 188.2 kB / 18.67 MB, free: 4.23 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.564/1.564, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.148/1.148, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 61.84 kB / 0.5716 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1609, allocations: 80.69 MB / 0.6504 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002617/0.1636, allocations: 1.219 MB / 0.6515 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002177/0.1639, allocations: 35.94 kB / 0.6516 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.1639, allocations: 4 kB / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.514e-05/0.164, allocations: 7.875 kB / 0.6516 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 8.949e-05/0.1641, allocations: 11.97 kB / 0.6516 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.1643, allocations: 19.91 kB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.1645, allocations: 103.8 kB / 0.6517 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.1646, allocations: 8 kB / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.1646, allocations: 35.95 kB / 0.6518 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.1647, allocations: 35.89 kB / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.1647, allocations: 4 kB / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.1648, allocations: 4 kB / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.1648, allocations: 27.97 kB / 0.6518 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.1649, allocations: 27.84 kB / 0.6519 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.165, allocations: 51.81 kB / 0.6519 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.165, allocations: 0 / 0.6519 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.813e-06/0.165, allocations: 0 / 0.6519 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.165, allocations: 0 / 0.6519 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.0007025/0.1657, allocations: 411.2 kB / 0.6523 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1658, allocations: 11.89 kB / 0.6523 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.1658, allocations: 12.89 kB / 0.6523 GB, free: 11 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.166, allocations: 176.3 kB / 0.6525 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.166, allocations: 8.375 kB / 0.6525 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.1661, allocations: 16.33 kB / 0.6525 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.1663, allocations: 86.14 kB / 0.6526 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1663, allocations: 4.172 kB / 0.6526 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1663, allocations: 3.938 kB / 0.6526 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1663, allocations: 0 / 0.6526 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.159e-05/0.1664, allocations: 43.97 kB / 0.6526 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.1667, allocations: 217.5 kB / 0.6529 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.1671, allocations: 138.4 kB / 0.653 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.925e-05/0.1672, allocations: 45.17 kB / 0.653 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1673, allocations: 3.938 kB / 0.653 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1673, allocations: 34.56 kB / 0.6531 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.1673, allocations: 0 / 0.6531 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0008231/0.1681, allocations: 311.3 kB / 0.6534 GB, free: 9.797 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1682, allocations: 55.41 kB / 0.6534 GB, free: 9.73 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.1683, allocations: 97.84 kB / 0.6535 GB, free: 9.625 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1683, allocations: 33.7 kB / 0.6535 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.1684, allocations: 82.48 kB / 0.6536 GB, free: 9.504 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.1684, allocations: 47.59 kB / 0.6537 GB, free: 9.457 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.1685, allocations: 49.98 kB / 0.6537 GB, free: 9.402 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1687, allocations: 326.8 kB / 0.654 GB, free: 9.074 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.1688, allocations: 47.97 kB / 0.6541 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1689, allocations: 84.19 kB / 0.6542 GB, free: 8.93 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.1692, allocations: 156.1 kB / 0.6543 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1692, allocations: 0 / 0.6543 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004553/0.1696, allocations: 222.4 kB / 0.6545 GB, free: 8.535 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1697, allocations: 11.97 kB / 0.6545 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1697, allocations: 4 kB / 0.6545 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.17, allocations: 64.78 kB / 0.6546 GB, free: 8.453 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1702, allocations: 35.88 kB / 0.6546 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.1719, allocations: 1.594 MB / 0.6562 GB, free: 6.676 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.172, allocations: 15.92 kB / 0.6562 GB, free: 6.66 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.172, allocations: 4 kB / 0.6562 GB, free: 6.656 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.0001349/0.1721, allocations: 132.9 kB / 0.6563 GB, free: 6.52 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.1722, allocations: 0 / 0.6563 GB, free: 6.52 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.1722, allocations: 11.97 kB / 0.6563 GB, free: 6.512 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1722, allocations: 4 kB / 0.6563 GB, free: 6.508 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1722, allocations: 0 / 0.6563 GB, free: 6.508 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1722, allocations: 4.062 kB / 0.6563 GB, free: 6.504 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.1725, allocations: 221.4 kB / 0.6566 GB, free: 6.238 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1725, allocations: 0 / 0.6566 GB, free: 6.238 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.1726, allocations: 27.92 kB / 0.6566 GB, free: 6.211 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.1729, allocations: 56.8 kB / 0.6566 GB, free: 6.152 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.173, allocations: 4 kB / 0.6566 GB, free: 6.148 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.1746, allocations: 1.586 MB / 0.6582 GB, free: 4.426 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1746, allocations: 3.984 kB / 0.6582 GB, free: 4.422 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.1751, allocations: 262.1 kB / 0.6584 GB, free: 4.145 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.1752, allocations: 85.05 kB / 0.6585 GB, free: 4.043 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1752, allocations: 8.062 kB / 0.6585 GB, free: 4.035 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.1753, allocations: 4 kB / 0.6585 GB, free: 4.031 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.1753, allocations: 7.984 kB / 0.6585 GB, free: 4.023 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1753, allocations: 11.94 kB / 0.6586 GB, free: 4.012 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.588e-05/0.1754, allocations: 83.27 kB / 0.6586 GB, free: 3.93 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1754, allocations: 0 / 0.6586 GB, free: 3.93 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002612/0.1756, allocations: 28 kB / 0.6587 GB, free: 3.902 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.0001295/0.1758, allocations: 107.7 kB / 0.6588 GB, free: 3.785 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0006299/0.1764, allocations: 262.5 kB / 0.659 GB, free: 3.516 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1764, allocations: 0 / 0.659 GB, free: 3.516 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.1767, allocations: 190.5 kB / 0.6592 GB, free: 3.316 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.1769, allocations: 11.66 kB / 0.6592 GB, free: 3.309 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.178, allocations: 0.6571 MB / 0.6598 GB, free: 2.625 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.1784, allocations: 0.7079 MB / 0.6605 GB, free: 1.891 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 6.731e-05/0.1785, allocations: 28.53 kB / 0.6606 GB, free: 1.863 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.1785, allocations: 11.44 kB / 0.6606 GB, free: 1.852 MB / 0.4983 GB Notification: Performance of SimCode: time 5.91e-07/0.1785, allocations: 0 / 0.6606 GB, free: 1.852 MB / 0.4983 GB Notification: Performance of Templates: time 0.004577/0.1831, allocations: 1.337 MB / 0.6619 GB, free: 0.5625 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 -s gbode -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