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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 190.4 kB / 17.27 MB, free: 4.5 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.299/1.299, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.0009669/0.0009668, allocations: 109.3 kB / 291.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.855/0.855, allocations: 119.3 MB / 460.6 MB, free: 9.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 51.86 kB / 0.5391 GB, free: 43.13 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1674, allocations: 80.7 MB / 0.6179 GB, free: 12.67 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002955/0.1704, allocations: 1.27 MB / 0.6192 GB, free: 11.39 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002242/0.1707, allocations: 47.88 kB / 0.6192 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.1707, allocations: 0 / 0.6192 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.925e-05/0.1708, allocations: 7.984 kB / 0.6192 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.1709, allocations: 11.98 kB / 0.6192 GB, free: 11.32 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.1711, allocations: 19.91 kB / 0.6192 GB, free: 11.3 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.1714, allocations: 131.8 kB / 0.6194 GB, free: 11.18 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.313e-05/0.1714, allocations: 0 / 0.6194 GB, free: 11.18 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.877e-05/0.1715, allocations: 31.92 kB / 0.6194 GB, free: 11.14 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1716, allocations: 39.94 kB / 0.6194 GB, free: 11.11 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.1716, allocations: 8 kB / 0.6194 GB, free: 11.1 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.359e-05/0.1717, allocations: 4 kB / 0.6194 GB, free: 11.09 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.1717, allocations: 27.91 kB / 0.6195 GB, free: 11.07 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.1718, allocations: 31.84 kB / 0.6195 GB, free: 11.04 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.1719, allocations: 44.16 kB / 0.6195 GB, free: 10.99 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1719, allocations: 0 / 0.6195 GB, free: 10.99 MB / 442.8 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1719, allocations: 0 / 0.6195 GB, free: 10.99 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.172, allocations: 0 / 0.6195 GB, free: 10.99 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000715/0.1727, allocations: 411.3 kB / 0.6199 GB, free: 10.54 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1727, allocations: 12.03 kB / 0.62 GB, free: 10.53 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.1728, allocations: 12.78 kB / 0.62 GB, free: 10.52 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.173, allocations: 176.3 kB / 0.6201 GB, free: 10.3 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.173, allocations: 8.375 kB / 0.6201 GB, free: 10.3 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.173, allocations: 12.38 kB / 0.6202 GB, free: 10.29 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1732, allocations: 86.19 kB / 0.6202 GB, free: 10.2 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1733, allocations: 8.125 kB / 0.6202 GB, free: 10.19 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1733, allocations: 3.938 kB / 0.6202 GB, free: 10.18 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1733, allocations: 0 / 0.6202 GB, free: 10.18 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.4e-05/0.1734, allocations: 39.97 kB / 0.6203 GB, free: 10.14 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.1737, allocations: 213.5 kB / 0.6205 GB, free: 9.887 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.1741, allocations: 134.5 kB / 0.6206 GB, free: 9.746 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.1742, allocations: 56.83 kB / 0.6207 GB, free: 9.688 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1742, allocations: 4 kB / 0.6207 GB, free: 9.684 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1742, allocations: 30.56 kB / 0.6207 GB, free: 9.645 MB / 442.8 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.1742, allocations: 0 / 0.6207 GB, free: 9.645 MB / 442.8 MB Notification: Performance of matching and sorting (n=12): time 0.0007814/0.175, allocations: 311.6 kB / 0.621 GB, free: 9.312 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.1751, allocations: 55.41 kB / 0.6211 GB, free: 9.246 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.933e-05/0.1751, allocations: 97.86 kB / 0.6211 GB, free: 9.141 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1752, allocations: 29.7 kB / 0.6212 GB, free: 9.105 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.1752, allocations: 88.12 kB / 0.6213 GB, free: 9.016 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.1753, allocations: 55.19 kB / 0.6213 GB, free: 8.961 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.1754, allocations: 37.72 kB / 0.6213 GB, free: 8.918 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1755, allocations: 322.8 kB / 0.6217 GB, free: 8.594 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.804e-05/0.1756, allocations: 55.91 kB / 0.6217 GB, free: 8.539 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1757, allocations: 99.45 kB / 0.6218 GB, free: 8.43 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.1759, allocations: 148.2 kB / 0.6219 GB, free: 8.27 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.176, allocations: 0 / 0.6219 GB, free: 8.27 MB / 442.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004475/0.1764, allocations: 226.1 kB / 0.6222 GB, free: 8.039 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1764, allocations: 7.938 kB / 0.6222 GB, free: 8.031 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1765, allocations: 4 kB / 0.6222 GB, free: 8.027 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/0.1768, allocations: 64.92 kB / 0.6222 GB, free: 7.961 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1769, allocations: 31.92 kB / 0.6223 GB, free: 7.93 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.1784, allocations: 1.464 MB / 0.6237 GB, free: 6.324 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.1785, allocations: 15.88 kB / 0.6237 GB, free: 6.309 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1785, allocations: 4 kB / 0.6237 GB, free: 6.305 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 (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.0001044/0.1786, allocations: 133.8 kB / 0.6238 GB, free: 6.164 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.1786, allocations: 4 kB / 0.6238 GB, free: 6.16 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.1787, allocations: 15.97 kB / 0.6239 GB, free: 6.141 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1787, allocations: 0 / 0.6239 GB, free: 6.141 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1787, allocations: 0 / 0.6239 GB, free: 6.141 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1787, allocations: 4 kB / 0.6239 GB, free: 6.137 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.1789, allocations: 209.5 kB / 0.6241 GB, free: 5.883 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1789, allocations: 3.938 kB / 0.6241 GB, free: 5.879 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.1791, allocations: 35.92 kB / 0.6241 GB, free: 5.844 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002538/0.1793, allocations: 60.8 kB / 0.6242 GB, free: 5.781 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1794, allocations: 0 / 0.6242 GB, free: 5.781 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.1807, allocations: 1.48 MB / 0.6256 GB, free: 4.172 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1807, allocations: 0 / 0.6256 GB, free: 4.172 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004023/0.1847, allocations: 3.363 MB / 0.6289 GB, free: 0.5234 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.1848, allocations: 77.11 kB / 0.629 GB, free: 440 kB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1848, allocations: 11.98 kB / 0.629 GB, free: 428 kB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.409e-05/0.1849, allocations: 0 / 0.629 GB, free: 428 kB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.1849, allocations: 19.86 kB / 0.629 GB, free: 408 kB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.185, allocations: 12.06 kB / 0.629 GB, free: 396 kB / 442.8 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.185, allocations: 79.28 kB / 0.6291 GB, free: 316 kB / 442.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.185, allocations: 0 / 0.6291 GB, free: 316 kB / 442.8 MB Notification: Performance of remove unused functions: time 0.0003554/0.1854, allocations: 44 kB / 0.6291 GB, free: 272 kB / 442.8 MB 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.0001334/0.1855, allocations: 99.19 kB / 0.6292 GB, free: 160 kB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0005646/0.1861, allocations: 258.7 kB / 0.6295 GB, free: 15.89 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1861, allocations: 4.062 kB / 0.6295 GB, free: 15.89 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.1864, allocations: 206.5 kB / 0.6297 GB, free: 15.67 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.1866, allocations: 5.094 kB / 0.6297 GB, free: 15.67 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1879, allocations: 0.9515 MB / 0.6306 GB, free: 14.66 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.1881, allocations: 0.7088 MB / 0.6313 GB, free: 13.93 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 7.551e-05/0.1882, allocations: 32.52 kB / 0.6313 GB, free: 13.9 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.1882, allocations: 15.44 kB / 0.6313 GB, free: 13.88 MB / 458.8 MB Notification: Performance of SimCode: time 2.31e-07/0.1882, allocations: 0 / 0.6313 GB, free: 13.88 MB / 458.8 MB Notification: Performance of Templates: time 0.004467/0.1927, allocations: 1.932 MB / 0.6332 GB, free: 11.99 MB / 458.8 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches