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.0009713/0.0009714, allocations: 94.08 kB / 16.3 MB, free: 5.996 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.0009439/0.0009439, allocations: 179.8 kB / 17.2 MB, free: 5.898 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.288/1.288, allocations: 223.2 MB / 241.1 MB, free: 288 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9699/0.9699, allocations: 120.5 MB / 412.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 8 kB / 0.4942 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5628/0.5632, allocations: 82.84 MB / 0.5751 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001121/0.5644, allocations: 0.9294 MB / 0.576 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001664/0.5645, allocations: 47.45 kB / 0.576 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.5646, allocations: 0 / 0.576 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.322e-05/0.5647, allocations: 3.984 kB / 0.576 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 1.682e-05/0.5647, allocations: 1.25 kB / 0.576 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.5649, allocations: 23.95 kB / 0.576 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.565, allocations: 63.59 kB / 0.5761 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.565, allocations: 6.094 kB / 0.5761 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.5651, allocations: 29.17 kB / 0.5761 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.613e-05/0.5651, allocations: 29.11 kB / 0.5762 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.5652, allocations: 5.594 kB / 0.5762 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.5652, allocations: 3.594 kB / 0.5762 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.5652, allocations: 29.94 kB / 0.5762 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.5653, allocations: 31.67 kB / 0.5762 GB, free: 41 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.589e-05/0.5653, allocations: 38.34 kB / 0.5763 GB, free: 40.98 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.5653, allocations: 1.719 kB / 0.5763 GB, free: 40.98 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5653, allocations: 0 / 0.5763 GB, free: 40.98 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.5653, allocations: 0 / 0.5763 GB, free: 40.98 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.0004941/0.5658, allocations: 392.4 kB / 0.5766 GB, free: 40.59 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.5659, allocations: 8.875 kB / 0.5767 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.5659, allocations: 8.766 kB / 0.5767 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.5661, allocations: 187 kB / 0.5768 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.5661, allocations: 7.938 kB / 0.5768 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.5661, allocations: 13.78 kB / 0.5769 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.5663, allocations: 82.27 kB / 0.5769 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.5663, allocations: 0 / 0.5769 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.5663, allocations: 1.812 kB / 0.5769 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.5663, allocations: 1.781 kB / 0.5769 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.5664, allocations: 51.12 kB / 0.577 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.5666, allocations: 212.7 kB / 0.5772 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.567, allocations: 143 kB / 0.5773 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.567, allocations: 1.375 kB / 0.5773 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.567, allocations: 31.94 kB / 0.5774 GB, free: 39.93 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.567, allocations: 0 / 0.5774 GB, free: 39.93 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006927/0.5677, allocations: 312.2 kB / 0.5777 GB, free: 39.7 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.5678, allocations: 52.72 kB / 0.5777 GB, free: 39.63 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.682e-05/0.5678, allocations: 101.8 kB / 0.5778 GB, free: 39.53 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.5679, allocations: 26.98 kB / 0.5778 GB, free: 39.5 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.5679, allocations: 85.77 kB / 0.5779 GB, free: 39.41 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.5679, allocations: 49.55 kB / 0.578 GB, free: 39.37 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.5679, allocations: 0 / 0.578 GB, free: 39.37 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.568, allocations: 325.5 kB / 0.5783 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.263e-05/0.5681, allocations: 51.62 kB / 0.5783 GB, free: 39.02 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-05/0.5682, allocations: 88.58 kB / 0.5784 GB, free: 38.95 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.5683, allocations: 63.31 kB / 0.5785 GB, free: 38.93 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5683, allocations: 5.297 kB / 0.5785 GB, free: 38.92 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004151/0.5687, allocations: 219.4 kB / 0.5787 GB, free: 38.8 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.5688, allocations: 5.062 kB / 0.5787 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5688, allocations: 2.375 kB / 0.5787 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000331/0.5691, allocations: 65.36 kB / 0.5788 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.5693, allocations: 34.61 kB / 0.5788 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.5703, allocations: 1.489 MB / 0.5802 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.644e-05/0.5704, allocations: 12.11 kB / 0.5802 GB, free: 37.31 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.5704, allocations: 8.062 kB / 0.5803 GB, free: 37.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.774e-05/0.5705, allocations: 125.1 kB / 0.5804 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.5705, allocations: 10.72 kB / 0.5804 GB, free: 37.17 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.5706, allocations: 11.97 kB / 0.5804 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5706, allocations: 5.359 kB / 0.5804 GB, free: 37.15 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5706, allocations: 5.359 kB / 0.5804 GB, free: 37.15 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.5706, allocations: 3.953 kB / 0.5804 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.5707, allocations: 209.1 kB / 0.5806 GB, free: 36.92 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5707, allocations: 3.984 kB / 0.5806 GB, free: 36.92 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.5709, allocations: 26 kB / 0.5806 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/0.5711, allocations: 59.05 kB / 0.5807 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.5712, allocations: 6.734 kB / 0.5807 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.5722, allocations: 1.481 MB / 0.5821 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5722, allocations: 0.9062 kB / 0.5821 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.5727, allocations: 266.1 kB / 0.5824 GB, free: 35.29 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.5727, allocations: 90.75 kB / 0.5825 GB, free: 35.18 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.5727, allocations: 6.781 kB / 0.5825 GB, free: 35.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.5728, allocations: 9.734 kB / 0.5825 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.5728, allocations: 4.625 kB / 0.5825 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.5729, allocations: 9.828 kB / 0.5825 GB, free: 35.16 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.206e-05/0.5729, allocations: 78.34 kB / 0.5826 GB, free: 35.09 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5729, allocations: 0 / 0.5826 GB, free: 35.09 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002857/0.5732, allocations: 31.97 kB / 0.5826 GB, free: 35.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000149/0.5734, allocations: 99.84 kB / 0.5827 GB, free: 34.98 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005113/0.5739, allocations: 255.4 kB / 0.583 GB, free: 34.81 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5739, allocations: 0 / 0.583 GB, free: 34.81 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.5742, allocations: 195.9 kB / 0.5832 GB, free: 34.66 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.5743, allocations: 5.828 kB / 0.5832 GB, free: 34.66 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009011/0.5752, allocations: 0.7888 MB / 0.5839 GB, free: 33.98 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.5754, allocations: 0.7081 MB / 0.5846 GB, free: 33.27 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.259e-05/0.5754, allocations: 26.52 kB / 0.5846 GB, free: 33.26 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.5755, allocations: 11.25 kB / 0.5847 GB, free: 33.26 MB / 462.3 MB Notification: Performance of SimCode: time 2.51e-07/0.5755, allocations: 0 / 0.5847 GB, free: 33.26 MB / 462.3 MB Notification: Performance of Templates: time 0.003361/0.5788, allocations: 1.227 MB / 0.5859 GB, free: 32.68 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/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