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.001277/0.001277, allocations: 105 kB / 17.59 MB, free: 5.418 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.001234/0.001234, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.257/1.257, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8886/0.8886, allocations: 119.3 MB / 411.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.89 kB / 0.4916 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4534, allocations: 80.68 MB / 0.5704 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001993/0.4555, allocations: 1.22 MB / 0.5716 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000164/0.4556, allocations: 46.55 kB / 0.5716 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.4557, allocations: 1.281 kB / 0.5716 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.862e-05/0.4558, allocations: 3.938 kB / 0.5716 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/0.4558, allocations: 6.484 kB / 0.5716 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.456, allocations: 20.69 kB / 0.5717 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.4561, allocations: 102.5 kB / 0.5718 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.4562, allocations: 5.688 kB / 0.5718 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.4562, allocations: 45.8 kB / 0.5718 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.718e-05/0.4563, allocations: 28.7 kB / 0.5718 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.4563, allocations: 3.719 kB / 0.5718 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.945e-05/0.4563, allocations: 5.312 kB / 0.5718 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.4564, allocations: 32.48 kB / 0.5719 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.4564, allocations: 35.3 kB / 0.5719 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.09e-05/0.4565, allocations: 50.86 kB / 0.572 GB, free: 42.19 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4565, allocations: 0 / 0.572 GB, free: 42.19 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4565, allocations: 1.531 kB / 0.572 GB, free: 42.19 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.4565, allocations: 0 / 0.572 GB, free: 42.19 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.0004903/0.457, allocations: 401.5 kB / 0.5723 GB, free: 41.79 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.4571, allocations: 16.53 kB / 0.5724 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.4571, allocations: 8.969 kB / 0.5724 GB, free: 41.78 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.4572, allocations: 185.7 kB / 0.5725 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.4572, allocations: 3.094 kB / 0.5725 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.4573, allocations: 11.25 kB / 0.5726 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.4574, allocations: 85.7 kB / 0.5726 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4574, allocations: 5.5 kB / 0.5726 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.4575, allocations: 5.312 kB / 0.5726 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4575, allocations: 1.375 kB / 0.5726 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.646e-05/0.4575, allocations: 43.33 kB / 0.5727 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.4577, allocations: 213.2 kB / 0.5729 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.458, allocations: 135.6 kB / 0.573 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.139e-05/0.4581, allocations: 48.92 kB / 0.5731 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.4581, allocations: 1.312 kB / 0.5731 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.4582, allocations: 32.94 kB / 0.5731 GB, free: 41.11 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.4582, allocations: 0 / 0.5731 GB, free: 41.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006653/0.4588, allocations: 312 kB / 0.5734 GB, free: 40.89 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.4589, allocations: 52.91 kB / 0.5734 GB, free: 40.82 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.332e-05/0.4589, allocations: 102.9 kB / 0.5735 GB, free: 40.72 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.4589, allocations: 27.11 kB / 0.5736 GB, free: 40.69 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.684e-05/0.459, allocations: 85.27 kB / 0.5737 GB, free: 40.6 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.459, allocations: 52.58 kB / 0.5737 GB, free: 40.55 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.459, allocations: 40.48 kB / 0.5737 GB, free: 40.52 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.4591, allocations: 321.6 kB / 0.574 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.411e-05/0.4592, allocations: 52.36 kB / 0.5741 GB, free: 40.18 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.993e-05/0.4593, allocations: 89.83 kB / 0.5742 GB, free: 40.11 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.4594, allocations: 151.3 kB / 0.5743 GB, free: 40.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4594, allocations: 0 / 0.5743 GB, free: 40.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003772/0.4598, allocations: 230.2 kB / 0.5745 GB, free: 39.89 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.4598, allocations: 9.531 kB / 0.5746 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4599, allocations: 1.156 kB / 0.5746 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002794/0.4601, allocations: 60.84 kB / 0.5746 GB, free: 39.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.4603, allocations: 35.11 kB / 0.5746 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.4613, allocations: 1.592 MB / 0.5762 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.4614, allocations: 10.66 kB / 0.5762 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4614, allocations: 5.375 kB / 0.5762 GB, free: 38.28 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 5.986e-05/0.4614, allocations: 131.2 kB / 0.5763 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.4615, allocations: 3.156 kB / 0.5763 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.4615, allocations: 21.17 kB / 0.5764 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4615, allocations: 1.031 kB / 0.5764 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.4615, allocations: 5.281 kB / 0.5764 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4615, allocations: 0 / 0.5764 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.4616, allocations: 208.1 kB / 0.5766 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.4616, allocations: 0 / 0.5766 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.4618, allocations: 22.28 kB / 0.5766 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002276/0.462, allocations: 64.25 kB / 0.5767 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.4621, allocations: 11.31 kB / 0.5767 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009546/0.463, allocations: 1.573 MB / 0.5782 GB, free: 36.34 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.463, allocations: 3.938 kB / 0.5782 GB, free: 36.33 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.4635, allocations: 265.8 kB / 0.5785 GB, free: 36.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.4635, allocations: 95.28 kB / 0.5785 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.4635, allocations: 2.969 kB / 0.5786 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.4636, allocations: 1.438 kB / 0.5786 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.4636, allocations: 12.33 kB / 0.5786 GB, free: 36.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.4636, allocations: 10.56 kB / 0.5786 GB, free: 36.04 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.959e-05/0.4636, allocations: 78.62 kB / 0.5786 GB, free: 35.96 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4636, allocations: 0 / 0.5786 GB, free: 35.96 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002241/0.4639, allocations: 31.75 kB / 0.5787 GB, free: 35.95 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 7.152e-05/0.464, allocations: 112.3 kB / 0.5788 GB, free: 35.85 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.4644, allocations: 267.2 kB / 0.579 GB, free: 35.67 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4644, allocations: 0 / 0.579 GB, free: 35.67 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.4647, allocations: 196.9 kB / 0.5792 GB, free: 35.52 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.4648, allocations: 11.03 kB / 0.5792 GB, free: 35.51 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.4656, allocations: 0.679 MB / 0.5799 GB, free: 34.93 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.4657, allocations: 0.7052 MB / 0.5806 GB, free: 34.22 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.4657, allocations: 12.72 kB / 0.5806 GB, free: 34.22 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4657, allocations: 0 / 0.5806 GB, free: 34.22 MB / 462.3 MB Notification: Performance of Templates: time 0.002686/0.4684, allocations: 1.441 MB / 0.582 GB, free: 33.5 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches