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.0007948/0.0007947, allocations: 91.8 kB / 17.31 MB, free: 6.535 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.0007753/0.0007752, allocations: 179.2 kB / 18.22 MB, free: 5.676 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.42/1.42, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.239/1.239, allocations: 120.5 MB / 413.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003007, allocations: 8 kB / 0.4955 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5571/0.5574, allocations: 82.83 MB / 0.5764 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001051/0.5585, allocations: 0.9393 MB / 0.5774 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.5587, allocations: 47.23 kB / 0.5774 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.5587, allocations: 0 / 0.5774 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.544e-05/0.5588, allocations: 6.531 kB / 0.5774 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.292e-05/0.5589, allocations: 2.875 kB / 0.5774 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.559, allocations: 20.47 kB / 0.5774 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.5592, allocations: 128.2 kB / 0.5775 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.5593, allocations: 1.281 kB / 0.5775 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.442e-05/0.5593, allocations: 48.47 kB / 0.5776 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 8.338e-05/0.5594, allocations: 30.64 kB / 0.5776 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.5594, allocations: 3.938 kB / 0.5776 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.748e-05/0.5594, allocations: 5.125 kB / 0.5776 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.5595, allocations: 33.27 kB / 0.5777 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.5596, allocations: 60.55 kB / 0.5777 GB, free: 40.4 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.172e-05/0.5596, allocations: 38.98 kB / 0.5778 GB, free: 40.38 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5596, allocations: 0 / 0.5778 GB, free: 40.38 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5596, allocations: 1.438 kB / 0.5778 GB, free: 40.38 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.5596, allocations: 0 / 0.5778 GB, free: 40.38 MB / 462.3 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.0004825/0.5601, allocations: 392 kB / 0.5781 GB, free: 39.99 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.5602, allocations: 9.844 kB / 0.5781 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.5602, allocations: 4.281 kB / 0.5781 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.5603, allocations: 185.4 kB / 0.5783 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.5604, allocations: 4.594 kB / 0.5783 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.5604, allocations: 13.75 kB / 0.5783 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.5606, allocations: 86.52 kB / 0.5784 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5606, allocations: 5.453 kB / 0.5784 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.5606, allocations: 5 kB / 0.5784 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5606, allocations: 4.875 kB / 0.5784 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.106e-05/0.5607, allocations: 40.25 kB / 0.5785 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.5609, allocations: 216.8 kB / 0.5787 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.5612, allocations: 135.9 kB / 0.5788 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.5613, allocations: 54.92 kB / 0.5789 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.5613, allocations: 0 / 0.5789 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/0.5613, allocations: 31.66 kB / 0.5789 GB, free: 39.31 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 8.52e-07/0.5613, allocations: 0 / 0.5789 GB, free: 39.31 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006366/0.562, allocations: 316.2 kB / 0.5792 GB, free: 39.08 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.562, allocations: 54.41 kB / 0.5793 GB, free: 39.02 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.432e-05/0.5621, allocations: 101.8 kB / 0.5793 GB, free: 38.91 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.5621, allocations: 25.7 kB / 0.5794 GB, free: 38.88 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.611e-05/0.5621, allocations: 85.48 kB / 0.5795 GB, free: 38.79 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.5621, allocations: 49.64 kB / 0.5795 GB, free: 38.75 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.5622, allocations: 25.48 kB / 0.5795 GB, free: 38.72 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.5622, allocations: 329 kB / 0.5798 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.619e-05/0.5623, allocations: 52.23 kB / 0.5799 GB, free: 38.37 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.014e-05/0.5624, allocations: 85.55 kB / 0.58 GB, free: 38.31 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.5626, allocations: 151.9 kB / 0.5801 GB, free: 38.21 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5626, allocations: 0 / 0.5801 GB, free: 38.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003864/0.563, allocations: 229.6 kB / 0.5803 GB, free: 38.08 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.563, allocations: 8.906 kB / 0.5803 GB, free: 38.08 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.563, allocations: 5.594 kB / 0.5803 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/0.5633, allocations: 57.73 kB / 0.5804 GB, free: 38.05 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.5634, allocations: 31.14 kB / 0.5804 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009909/0.5644, allocations: 1.474 MB / 0.5819 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/0.5645, allocations: 12.02 kB / 0.5819 GB, free: 36.6 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.5645, allocations: 12.19 kB / 0.5819 GB, free: 36.59 MB / 462.3 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 6.854e-05/0.5646, allocations: 133.8 kB / 0.582 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.5646, allocations: 2.75 kB / 0.582 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.5646, allocations: 15.97 kB / 0.582 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5647, allocations: 5.359 kB / 0.582 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.5647, allocations: 1.375 kB / 0.582 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5647, allocations: 0 / 0.582 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.5648, allocations: 209.1 kB / 0.5822 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5648, allocations: 4 kB / 0.5823 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.565, allocations: 25.98 kB / 0.5823 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.5652, allocations: 55.05 kB / 0.5823 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.5652, allocations: 12.11 kB / 0.5823 GB, free: 36.17 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008905/0.5661, allocations: 1.47 MB / 0.5838 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5661, allocations: 64 / 0.5838 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.5665, allocations: 262.3 kB / 0.584 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.5665, allocations: 90.27 kB / 0.5841 GB, free: 34.48 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.5666, allocations: 7.984 kB / 0.5841 GB, free: 34.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.5666, allocations: 1.344 kB / 0.5841 GB, free: 34.48 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.5666, allocations: 15.95 kB / 0.5841 GB, free: 34.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.5667, allocations: 2.906 kB / 0.5841 GB, free: 34.46 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.826e-05/0.5667, allocations: 77.09 kB / 0.5842 GB, free: 34.39 MB / 462.3 MB Notification: Performance of sort global known variables: time 7.21e-07/0.5667, allocations: 0 / 0.5842 GB, free: 34.39 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002235/0.5669, allocations: 32.28 kB / 0.5842 GB, free: 34.38 MB / 462.3 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 8.043e-05/0.567, allocations: 107.8 kB / 0.5843 GB, free: 34.28 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.5675, allocations: 255.9 kB / 0.5846 GB, free: 34.11 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5675, allocations: 0 / 0.5846 GB, free: 34.11 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.5677, allocations: 201.4 kB / 0.5848 GB, free: 33.95 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.5679, allocations: 10.62 kB / 0.5848 GB, free: 33.95 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.5687, allocations: 0.8207 MB / 0.5856 GB, free: 33.24 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.5689, allocations: 0.7054 MB / 0.5863 GB, free: 32.53 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.5689, allocations: 12.06 kB / 0.5863 GB, free: 32.52 MB / 462.3 MB Notification: Performance of SimCode: time 1.9e-07/0.5689, allocations: 0 / 0.5863 GB, free: 32.52 MB / 462.3 MB Notification: Performance of Templates: time 0.002721/0.5716, allocations: 1.44 MB / 0.5877 GB, free: 31.81 MB / 462.3 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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