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.001218/0.001218, allocations: 104.3 kB / 17.59 MB, free: 5.43 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.001212/0.001212, allocations: 187.3 kB / 18.51 MB, free: 4.508 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.342/1.342, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9085/0.9085, allocations: 119.3 MB / 411.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 59.91 kB / 0.4916 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4606, allocations: 80.69 MB / 0.5704 GB, free: 43.56 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001993/0.4627, allocations: 1.206 MB / 0.5716 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001738/0.4629, allocations: 46.64 kB / 0.5716 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.4629, allocations: 5.469 kB / 0.5716 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.082e-05/0.463, allocations: 0 / 0.5716 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.075e-05/0.4631, allocations: 10.67 kB / 0.5716 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.4632, allocations: 19.94 kB / 0.5717 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.4633, allocations: 102.7 kB / 0.5718 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.4634, allocations: 2.75 kB / 0.5718 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.063e-05/0.4634, allocations: 40.52 kB / 0.5718 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.4635, allocations: 36.27 kB / 0.5718 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.4635, allocations: 8.109 kB / 0.5718 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.155e-05/0.4636, allocations: 5.5 kB / 0.5718 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.4636, allocations: 33.53 kB / 0.5719 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.4637, allocations: 22.64 kB / 0.5719 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.353e-05/0.4638, allocations: 59.06 kB / 0.5719 GB, free: 42.38 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4638, allocations: 0 / 0.5719 GB, free: 42.38 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4638, allocations: 0 / 0.5719 GB, free: 42.38 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.4638, allocations: 1.094 kB / 0.572 GB, free: 42.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.0005786/0.4644, allocations: 396.6 kB / 0.5723 GB, free: 41.99 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.4644, allocations: 10.34 kB / 0.5723 GB, free: 41.99 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.4645, allocations: 8.359 kB / 0.5723 GB, free: 41.98 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.4646, allocations: 184.8 kB / 0.5725 GB, free: 41.77 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4646, allocations: 8.312 kB / 0.5725 GB, free: 41.77 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.4646, allocations: 11.47 kB / 0.5725 GB, free: 41.77 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.4648, allocations: 93.41 kB / 0.5726 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4648, allocations: 1.844 kB / 0.5726 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4648, allocations: 3.938 kB / 0.5726 GB, free: 41.69 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.4648, allocations: 1.688 kB / 0.5726 GB, free: 41.69 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.4649, allocations: 48.23 kB / 0.5727 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.4651, allocations: 208.2 kB / 0.5729 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.4654, allocations: 135.2 kB / 0.573 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.4655, allocations: 54.3 kB / 0.5731 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.4655, allocations: 5.156 kB / 0.5731 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.4656, allocations: 39.78 kB / 0.5731 GB, free: 41.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.4656, allocations: 0 / 0.5731 GB, free: 41.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006429/0.4662, allocations: 304.5 kB / 0.5734 GB, free: 41.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.4662, allocations: 57.66 kB / 0.5735 GB, free: 41.01 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.248e-05/0.4663, allocations: 102.7 kB / 0.5735 GB, free: 40.9 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.4663, allocations: 29.7 kB / 0.5736 GB, free: 40.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.625e-05/0.4663, allocations: 82.3 kB / 0.5737 GB, free: 40.79 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.4664, allocations: 48.98 kB / 0.5737 GB, free: 40.74 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.4664, allocations: 39.39 kB / 0.5737 GB, free: 40.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.4665, allocations: 325.4 kB / 0.5741 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.4666, allocations: 52.58 kB / 0.5741 GB, free: 40.36 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.629e-05/0.4666, allocations: 89.81 kB / 0.5742 GB, free: 40.3 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.4668, allocations: 151.4 kB / 0.5743 GB, free: 40.2 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4668, allocations: 5.156 kB / 0.5743 GB, free: 40.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003863/0.4672, allocations: 224.5 kB / 0.5746 GB, free: 40.07 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4673, allocations: 9.406 kB / 0.5746 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4673, allocations: 1.312 kB / 0.5746 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002945/0.4676, allocations: 65.3 kB / 0.5746 GB, free: 40.03 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.4677, allocations: 31.33 kB / 0.5747 GB, free: 40.03 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.4687, allocations: 1.583 MB / 0.5762 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.4688, allocations: 11.47 kB / 0.5762 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.4688, allocations: 5.594 kB / 0.5762 GB, free: 38.47 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.413e-05/0.4689, allocations: 135.9 kB / 0.5763 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.4689, allocations: 2.125 kB / 0.5763 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.469, allocations: 16.98 kB / 0.5764 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.469, allocations: 1.938 kB / 0.5764 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.469, allocations: 1.188 kB / 0.5764 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.469, allocations: 0 / 0.5764 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.4691, allocations: 207.7 kB / 0.5766 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4691, allocations: 0 / 0.5766 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.4693, allocations: 30.66 kB / 0.5766 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/0.4695, allocations: 63.84 kB / 0.5767 GB, free: 38.05 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.4695, allocations: 6.719 kB / 0.5767 GB, free: 38.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009643/0.4705, allocations: 1.578 MB / 0.5782 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4705, allocations: 5.562 kB / 0.5782 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.4709, allocations: 261.3 kB / 0.5785 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.4709, allocations: 90.47 kB / 0.5785 GB, free: 36.25 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.471, allocations: 6.875 kB / 0.5785 GB, free: 36.24 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.944e-05/0.471, allocations: 1.375 kB / 0.5785 GB, free: 36.24 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.4711, allocations: 12.36 kB / 0.5786 GB, free: 36.23 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4711, allocations: 6.75 kB / 0.5786 GB, free: 36.23 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.974e-05/0.4711, allocations: 81.78 kB / 0.5786 GB, free: 36.15 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4711, allocations: 0 / 0.5786 GB, free: 36.15 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002324/0.4713, allocations: 28.88 kB / 0.5787 GB, free: 36.15 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 9.917e-05/0.4714, allocations: 113 kB / 0.5788 GB, free: 36.04 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.4719, allocations: 272.5 kB / 0.579 GB, free: 35.86 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4719, allocations: 0 / 0.579 GB, free: 35.86 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.4722, allocations: 200.6 kB / 0.5792 GB, free: 35.71 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.4724, allocations: 6.219 kB / 0.5792 GB, free: 35.7 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008466/0.4732, allocations: 0.6837 MB / 0.5799 GB, free: 35.12 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.4734, allocations: 0.7006 MB / 0.5806 GB, free: 34.42 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.4734, allocations: 12.19 kB / 0.5806 GB, free: 34.41 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.4734, allocations: 0 / 0.5806 GB, free: 34.41 MB / 462.3 MB Notification: Performance of Templates: time 0.003096/0.4765, allocations: 1.441 MB / 0.582 GB, free: 33.69 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches