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.001473/0.001473, allocations: 115 kB / 17.07 MB, free: 5.969 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.001825/0.001825, allocations: 198.8 kB / 18.01 MB, free: 5.047 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.393/1.393, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.164/1.164, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 69.73 kB / 0.5709 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1685, allocations: 80.68 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.003628/0.1722, allocations: 1.222 MB / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002737/0.1726, allocations: 43.94 kB / 0.6509 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.1726, allocations: 4 kB / 0.6509 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.935e-05/0.1727, allocations: 7.922 kB / 0.6509 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.609e-05/0.1728, allocations: 3.984 kB / 0.6509 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.173, allocations: 23.89 kB / 0.651 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1732, allocations: 103.8 kB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.211e-05/0.1733, allocations: 4 kB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.1734, allocations: 39.95 kB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1735, allocations: 31.84 kB / 0.6511 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.1735, allocations: 8 kB / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.1735, allocations: 4 kB / 0.6512 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 6.247e-05/0.1736, allocations: 31.95 kB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.1737, allocations: 31.84 kB / 0.6512 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.1738, allocations: 47.81 kB / 0.6513 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1738, allocations: 0 / 0.6513 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1738, allocations: 0 / 0.6513 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.1738, allocations: 0 / 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.0007283/0.1746, allocations: 403.2 kB / 0.6516 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1746, allocations: 15.89 kB / 0.6517 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.1747, allocations: 12.89 kB / 0.6517 GB, free: 11 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1749, allocations: 180.3 kB / 0.6518 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1749, allocations: 8.375 kB / 0.6518 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.1749, allocations: 16.33 kB / 0.6519 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1751, allocations: 82.2 kB / 0.6519 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1752, allocations: 192 / 0.6519 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.1752, allocations: 7.938 kB / 0.652 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1752, allocations: 0 / 0.652 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.405e-05/0.1753, allocations: 47.94 kB / 0.652 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.1756, allocations: 213.5 kB / 0.6522 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.176, allocations: 138.6 kB / 0.6523 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.974e-05/0.1761, allocations: 56.98 kB / 0.6524 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.1761, allocations: 0 / 0.6524 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1762, allocations: 30.56 kB / 0.6524 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.1762, allocations: 0 / 0.6524 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0007738/0.1769, allocations: 315.3 kB / 0.6527 GB, free: 9.789 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.177, allocations: 51.41 kB / 0.6528 GB, free: 9.727 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.375e-05/0.1771, allocations: 101.8 kB / 0.6529 GB, free: 9.617 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1771, allocations: 25.7 kB / 0.6529 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.1772, allocations: 90.48 kB / 0.653 GB, free: 9.496 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.1772, allocations: 51.53 kB / 0.653 GB, free: 9.445 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.1773, allocations: 38.05 kB / 0.6531 GB, free: 9.402 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1774, allocations: 326.8 kB / 0.6534 GB, free: 9.074 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-05/0.1775, allocations: 51.97 kB / 0.6534 GB, free: 9.023 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1776, allocations: 91.11 kB / 0.6535 GB, free: 8.922 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.1778, allocations: 148.2 kB / 0.6536 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1778, allocations: 0 / 0.6536 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004493/0.1783, allocations: 222.7 kB / 0.6539 GB, free: 8.535 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1783, allocations: 10.59 kB / 0.6539 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1783, allocations: 4 kB / 0.6539 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/0.1787, allocations: 68.86 kB / 0.6539 GB, free: 8.453 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1788, allocations: 39.86 kB / 0.654 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.1804, allocations: 1.582 MB / 0.6555 GB, free: 6.684 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.836e-05/0.1805, allocations: 15.88 kB / 0.6555 GB, free: 6.668 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1805, allocations: 8.062 kB / 0.6555 GB, free: 6.66 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.0001052/0.1806, allocations: 126.6 kB / 0.6557 GB, free: 6.527 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.1806, allocations: 4 kB / 0.6557 GB, free: 6.523 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.1807, allocations: 15.97 kB / 0.6557 GB, free: 6.512 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1807, allocations: 7.984 kB / 0.6557 GB, free: 6.504 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1807, allocations: 0 / 0.6557 GB, free: 6.504 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1807, allocations: 0 / 0.6557 GB, free: 6.504 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1809, allocations: 213.5 kB / 0.6559 GB, free: 6.246 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1809, allocations: 3.984 kB / 0.6559 GB, free: 6.242 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.1811, allocations: 27.94 kB / 0.6559 GB, free: 6.215 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000254/0.1814, allocations: 56.8 kB / 0.656 GB, free: 6.156 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.1814, allocations: 11.98 kB / 0.656 GB, free: 6.145 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.1828, allocations: 1.574 MB / 0.6575 GB, free: 4.434 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1828, allocations: 4.062 kB / 0.6575 GB, free: 4.43 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.1833, allocations: 265.7 kB / 0.6578 GB, free: 4.148 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.1834, allocations: 81.05 kB / 0.6579 GB, free: 4.051 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.1834, allocations: 7.984 kB / 0.6579 GB, free: 4.043 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/0.1834, allocations: 4 kB / 0.6579 GB, free: 4.039 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.1835, allocations: 20.12 kB / 0.6579 GB, free: 4.02 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1835, allocations: 3.938 kB / 0.6579 GB, free: 4.016 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.889e-05/0.1835, allocations: 83.27 kB / 0.658 GB, free: 3.934 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1835, allocations: 0 / 0.658 GB, free: 3.934 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002391/0.1838, allocations: 28 kB / 0.658 GB, free: 3.906 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.0001495/0.1839, allocations: 110 kB / 0.6581 GB, free: 3.789 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.1845, allocations: 266.5 kB / 0.6584 GB, free: 3.516 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1845, allocations: 3.938 kB / 0.6584 GB, free: 3.512 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.1848, allocations: 186.6 kB / 0.6585 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.0001842/0.185, allocations: 8 kB / 0.6586 GB, free: 3.309 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009547/0.1859, allocations: 0.6571 MB / 0.6592 GB, free: 2.625 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1863, allocations: 0.6963 MB / 0.6599 GB, free: 1.902 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 6.61e-05/0.1864, allocations: 28.52 kB / 0.6599 GB, free: 1.875 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.1864, allocations: 11.44 kB / 0.6599 GB, free: 1.863 MB / 0.4983 GB Notification: Performance of SimCode: time 4.01e-07/0.1864, allocations: 0 / 0.6599 GB, free: 1.863 MB / 0.4983 GB Notification: Performance of Templates: time 0.004396/0.1908, allocations: 1.338 MB / 0.6612 GB, free: 0.5664 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