Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.00107/0.00107, allocations: 111.4 kB / 17.28 MB, free: 6.312 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.001098/0.001099, allocations: 185.4 kB / 18.2 MB, free: 5.391 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.276/1.276, allocations: 222.9 MB / 241.9 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1/1, allocations: 119.3 MB / 411.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 56.14 kB / 0.4911 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.5591, allocations: 80.68 MB / 0.5699 GB, free: 43.17 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002249/0.5613, allocations: 1.278 MB / 0.5711 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001661/0.5615, allocations: 51.48 kB / 0.5712 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.5616, allocations: 0 / 0.5712 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.671e-05/0.5616, allocations: 0 / 0.5712 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/0.5617, allocations: 6.312 kB / 0.5712 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.5618, allocations: 28.58 kB / 0.5712 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.562, allocations: 103.8 kB / 0.5713 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.562, allocations: 1.125 kB / 0.5713 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.5621, allocations: 37.47 kB / 0.5713 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/0.5622, allocations: 37.81 kB / 0.5714 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.5622, allocations: 4.656 kB / 0.5714 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.774e-05/0.5622, allocations: 5.219 kB / 0.5714 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.5623, allocations: 30.84 kB / 0.5714 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.5623, allocations: 23.36 kB / 0.5714 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.308e-05/0.5624, allocations: 44.56 kB / 0.5715 GB, free: 41.95 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5624, allocations: 0 / 0.5715 GB, free: 41.95 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5624, allocations: 0 / 0.5715 GB, free: 41.95 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.5624, allocations: 0 / 0.5715 GB, free: 41.95 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.0005269/0.563, allocations: 409.9 kB / 0.5719 GB, free: 41.55 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.563, allocations: 17 kB / 0.5719 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.563, allocations: 4.062 kB / 0.5719 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5632, allocations: 186.2 kB / 0.5721 GB, free: 41.33 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.5632, allocations: 3.688 kB / 0.5721 GB, free: 41.33 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.5632, allocations: 11.12 kB / 0.5721 GB, free: 41.33 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.5634, allocations: 90.45 kB / 0.5722 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.5634, allocations: 1.375 kB / 0.5722 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5634, allocations: 7.938 kB / 0.5722 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5634, allocations: 1.188 kB / 0.5722 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.436e-05/0.5635, allocations: 45.39 kB / 0.5722 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.5638, allocations: 211.8 kB / 0.5724 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.5641, allocations: 134.9 kB / 0.5725 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.956e-05/0.5642, allocations: 55.05 kB / 0.5726 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.5642, allocations: 1.25 kB / 0.5726 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.5643, allocations: 36.06 kB / 0.5726 GB, free: 40.86 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.5643, allocations: 0 / 0.5726 GB, free: 40.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006744/0.5649, allocations: 303.9 kB / 0.5729 GB, free: 40.64 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.565, allocations: 52.78 kB / 0.573 GB, free: 40.58 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.5651, allocations: 106 kB / 0.5731 GB, free: 40.47 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.5651, allocations: 31.02 kB / 0.5731 GB, free: 40.44 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.5652, allocations: 85.52 kB / 0.5732 GB, free: 40.35 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.5652, allocations: 56.69 kB / 0.5732 GB, free: 40.3 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.5653, allocations: 40.83 kB / 0.5733 GB, free: 40.27 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.5654, allocations: 321.5 kB / 0.5736 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/0.5655, allocations: 52.14 kB / 0.5736 GB, free: 39.93 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.255e-05/0.5656, allocations: 95.84 kB / 0.5737 GB, free: 39.85 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.5658, allocations: 143.3 kB / 0.5739 GB, free: 39.76 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.5658, allocations: 4 kB / 0.5739 GB, free: 39.76 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004798/0.5663, allocations: 226 kB / 0.5741 GB, free: 39.63 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.5663, allocations: 8.938 kB / 0.5741 GB, free: 39.63 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5664, allocations: 1.031 kB / 0.5741 GB, free: 39.63 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003059/0.5667, allocations: 66.17 kB / 0.5742 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.5668, allocations: 38.36 kB / 0.5742 GB, free: 39.58 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.5679, allocations: 1.584 MB / 0.5757 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.568, allocations: 11.62 kB / 0.5757 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.568, allocations: 4.344 kB / 0.5758 GB, free: 38.04 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 7.652e-05/0.5681, allocations: 128.4 kB / 0.5759 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.5681, allocations: 5.734 kB / 0.5759 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.5682, allocations: 21.92 kB / 0.5759 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5682, allocations: 1.406 kB / 0.5759 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5682, allocations: 0 / 0.5759 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5682, allocations: 1.844 kB / 0.5759 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.5683, allocations: 207.2 kB / 0.5761 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5683, allocations: 0 / 0.5761 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.5685, allocations: 30.08 kB / 0.5761 GB, free: 37.65 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002401/0.5688, allocations: 60.11 kB / 0.5762 GB, free: 37.62 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.5688, allocations: 6.469 kB / 0.5762 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009937/0.5698, allocations: 1.582 MB / 0.5777 GB, free: 36.08 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5698, allocations: 0 / 0.5777 GB, free: 36.08 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.5702, allocations: 269.5 kB / 0.578 GB, free: 35.91 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.5703, allocations: 91.78 kB / 0.5781 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.5703, allocations: 2.969 kB / 0.5781 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.329e-05/0.5703, allocations: 5.5 kB / 0.5781 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.5704, allocations: 8.109 kB / 0.5781 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.5704, allocations: 7.062 kB / 0.5781 GB, free: 35.79 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.513e-05/0.5704, allocations: 88.83 kB / 0.5782 GB, free: 35.7 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5704, allocations: 0 / 0.5782 GB, free: 35.7 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002501/0.5707, allocations: 32.59 kB / 0.5782 GB, free: 35.7 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 0.0001017/0.5708, allocations: 99.25 kB / 0.5783 GB, free: 35.6 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005018/0.5713, allocations: 267.6 kB / 0.5786 GB, free: 35.43 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5713, allocations: 8.188 kB / 0.5786 GB, free: 35.42 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.5716, allocations: 196.6 kB / 0.5788 GB, free: 35.27 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.5718, allocations: 6.219 kB / 0.5788 GB, free: 35.26 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008632/0.5726, allocations: 0.6956 MB / 0.5795 GB, free: 34.67 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.5728, allocations: 0.7058 MB / 0.5801 GB, free: 33.96 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.5728, allocations: 11.12 kB / 0.5802 GB, free: 33.95 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.5728, allocations: 0 / 0.5802 GB, free: 33.95 MB / 462.3 MB Notification: Performance of Templates: time 0.003104/0.5759, allocations: 1.445 MB / 0.5816 GB, free: 33.23 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches