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.001091/0.001091, allocations: 112 kB / 17.68 MB, free: 5.332 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.0009986/0.0009986, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.285/1.285, allocations: 222.9 MB / 242.3 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8936/0.8936, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.89 kB / 0.4924 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5541/0.5554, allocations: 80.68 MB / 0.5712 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002386/0.5578, allocations: 1.205 MB / 0.5723 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001973/0.5581, allocations: 47.06 kB / 0.5724 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.5581, allocations: 1.406 kB / 0.5724 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.935e-05/0.5582, allocations: 3.938 kB / 0.5724 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.373e-05/0.5583, allocations: 10.38 kB / 0.5724 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.5585, allocations: 19.97 kB / 0.5724 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.5587, allocations: 108.5 kB / 0.5725 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.5587, allocations: 1.594 kB / 0.5725 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 6.404e-05/0.5588, allocations: 41.34 kB / 0.5725 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 8.935e-05/0.5589, allocations: 35.69 kB / 0.5726 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.5589, allocations: 9.094 kB / 0.5726 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.911e-05/0.559, allocations: 5.156 kB / 0.5726 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.559, allocations: 24.75 kB / 0.5726 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.5591, allocations: 26.95 kB / 0.5726 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 9.852e-05/0.5592, allocations: 52.95 kB / 0.5727 GB, free: 42.3 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5592, allocations: 1.375 kB / 0.5727 GB, free: 42.3 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5592, allocations: 0 / 0.5727 GB, free: 42.3 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.5592, allocations: 0 / 0.5727 GB, free: 42.3 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.0006106/0.5598, allocations: 407.1 kB / 0.5731 GB, free: 41.9 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.5599, allocations: 13.52 kB / 0.5731 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.5599, allocations: 4.188 kB / 0.5731 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.5601, allocations: 185.7 kB / 0.5733 GB, free: 41.69 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.5601, allocations: 7.25 kB / 0.5733 GB, free: 41.68 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.5601, allocations: 10.78 kB / 0.5733 GB, free: 41.68 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.5603, allocations: 90.55 kB / 0.5734 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.5604, allocations: 1.375 kB / 0.5734 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.5604, allocations: 5.219 kB / 0.5734 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.5604, allocations: 9.078 kB / 0.5734 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.5605, allocations: 39.97 kB / 0.5734 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.5607, allocations: 212.8 kB / 0.5736 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.5611, allocations: 143.7 kB / 0.5738 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.5612, allocations: 48.67 kB / 0.5738 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.5612, allocations: 2.25 kB / 0.5738 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.5612, allocations: 31.62 kB / 0.5739 GB, free: 41.21 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.5613, allocations: 0 / 0.5739 GB, free: 41.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0007375/0.562, allocations: 313 kB / 0.5742 GB, free: 40.99 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.562, allocations: 52.34 kB / 0.5742 GB, free: 40.93 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.424e-05/0.5621, allocations: 102.3 kB / 0.5743 GB, free: 40.82 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.5621, allocations: 26.92 kB / 0.5743 GB, free: 40.79 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.182e-05/0.5621, allocations: 85.3 kB / 0.5744 GB, free: 40.7 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.5622, allocations: 49.77 kB / 0.5745 GB, free: 40.66 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.5622, allocations: 39.42 kB / 0.5745 GB, free: 40.63 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.239e-05/0.5623, allocations: 325.5 kB / 0.5748 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.5624, allocations: 56.42 kB / 0.5749 GB, free: 40.28 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.5626, allocations: 90.81 kB / 0.5749 GB, free: 40.21 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.5628, allocations: 152.1 kB / 0.5751 GB, free: 40.11 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5628, allocations: 0 / 0.5751 GB, free: 40.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004161/0.5632, allocations: 225.3 kB / 0.5753 GB, free: 39.99 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.5632, allocations: 16.44 kB / 0.5753 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5632, allocations: 0 / 0.5753 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/0.5636, allocations: 61.83 kB / 0.5754 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.5637, allocations: 39.52 kB / 0.5754 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.565, allocations: 1.579 MB / 0.577 GB, free: 38.4 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.5651, allocations: 15.25 kB / 0.577 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.5651, allocations: 9.438 kB / 0.577 GB, free: 38.39 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 8.415e-05/0.5652, allocations: 126.6 kB / 0.5771 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.5652, allocations: 3.438 kB / 0.5771 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.5653, allocations: 21.05 kB / 0.5771 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5653, allocations: 1.156 kB / 0.5771 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5653, allocations: 1.219 kB / 0.5771 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5653, allocations: 0 / 0.5771 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.5655, allocations: 212.5 kB / 0.5773 GB, free: 38 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5655, allocations: 4 kB / 0.5773 GB, free: 38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.5656, allocations: 25.98 kB / 0.5774 GB, free: 37.99 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.5659, allocations: 60.17 kB / 0.5774 GB, free: 37.96 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.5659, allocations: 6.562 kB / 0.5774 GB, free: 37.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.567, allocations: 1.582 MB / 0.579 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5671, allocations: 4.062 kB / 0.579 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.5675, allocations: 258.6 kB / 0.5792 GB, free: 36.26 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.5676, allocations: 91.28 kB / 0.5793 GB, free: 36.16 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.5676, allocations: 3.969 kB / 0.5793 GB, free: 36.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.946e-05/0.5676, allocations: 4 kB / 0.5793 GB, free: 36.15 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.5677, allocations: 13.14 kB / 0.5793 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.5677, allocations: 6.281 kB / 0.5793 GB, free: 36.14 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.613e-05/0.5677, allocations: 81.11 kB / 0.5794 GB, free: 36.06 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5677, allocations: 0 / 0.5794 GB, free: 36.06 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002393/0.568, allocations: 32.31 kB / 0.5794 GB, free: 36.05 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.0001084/0.5681, allocations: 95.75 kB / 0.5795 GB, free: 35.96 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000549/0.5686, allocations: 269.4 kB / 0.5798 GB, free: 35.78 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5687, allocations: 1.188 kB / 0.5798 GB, free: 35.78 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.5689, allocations: 195 kB / 0.58 GB, free: 35.63 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.5691, allocations: 7.781 kB / 0.58 GB, free: 35.62 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007893/0.5699, allocations: 0.6618 MB / 0.5806 GB, free: 35.07 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.5701, allocations: 0.7008 MB / 0.5813 GB, free: 34.36 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.5701, allocations: 24.72 kB / 0.5813 GB, free: 34.36 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.5701, allocations: 11 kB / 0.5813 GB, free: 34.35 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.5701, allocations: 7.938 kB / 0.5814 GB, free: 34.34 MB / 462.3 MB Notification: Performance of Templates: time 0.003829/0.574, allocations: 1.298 MB / 0.5826 GB, free: 33.73 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 -s cvode -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