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.001201/0.001201, allocations: 107.4 kB / 16.92 MB, free: 5.773 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.001185/0.001185, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.251/1.251, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9562/0.9562, allocations: 119.3 MB / 411 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 0.4909 GB, free: 13.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5568/0.5581, allocations: 80.68 MB / 0.5697 GB, free: 43.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002219/0.5603, allocations: 1.218 MB / 0.5709 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001979/0.5606, allocations: 42.55 kB / 0.571 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.5606, allocations: 1.469 kB / 0.571 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.141e-05/0.5607, allocations: 7.938 kB / 0.571 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.5608, allocations: 10.92 kB / 0.571 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.5609, allocations: 23.83 kB / 0.571 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.5611, allocations: 103.1 kB / 0.5711 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.732e-05/0.5611, allocations: 1.594 kB / 0.5711 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/0.5612, allocations: 36.22 kB / 0.5711 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.406e-05/0.5613, allocations: 36.44 kB / 0.5712 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.5613, allocations: 5.594 kB / 0.5712 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.5613, allocations: 4.312 kB / 0.5712 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.5614, allocations: 29.84 kB / 0.5712 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.5614, allocations: 26.61 kB / 0.5712 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.631e-05/0.5615, allocations: 59.3 kB / 0.5713 GB, free: 42.16 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5615, allocations: 0 / 0.5713 GB, free: 42.16 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5616, allocations: 0 / 0.5713 GB, free: 42.16 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.5616, allocations: 0 / 0.5713 GB, free: 42.16 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.0005374/0.5621, allocations: 402.5 kB / 0.5717 GB, free: 41.76 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.5621, allocations: 12.77 kB / 0.5717 GB, free: 41.76 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.5622, allocations: 3.844 kB / 0.5717 GB, free: 41.76 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.5623, allocations: 185.7 kB / 0.5719 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.5623, allocations: 8.375 kB / 0.5719 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.5624, allocations: 11.28 kB / 0.5719 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.5625, allocations: 85.64 kB / 0.572 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.5626, allocations: 9.547 kB / 0.572 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.5626, allocations: 7.938 kB / 0.572 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5626, allocations: 5.312 kB / 0.572 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.112e-05/0.5627, allocations: 40.72 kB / 0.572 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.5629, allocations: 207.8 kB / 0.5722 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.5632, allocations: 137 kB / 0.5724 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/0.5633, allocations: 45.53 kB / 0.5724 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.5633, allocations: 5.438 kB / 0.5724 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.5633, allocations: 34.56 kB / 0.5724 GB, free: 41.08 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.5633, allocations: 1.219 kB / 0.5724 GB, free: 41.08 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006674/0.564, allocations: 309 kB / 0.5727 GB, free: 40.86 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.5641, allocations: 57.12 kB / 0.5728 GB, free: 40.79 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.329e-05/0.5641, allocations: 98 kB / 0.5729 GB, free: 40.69 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.5641, allocations: 29.7 kB / 0.5729 GB, free: 40.65 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.5641, allocations: 81.73 kB / 0.573 GB, free: 40.57 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.5642, allocations: 52.62 kB / 0.573 GB, free: 40.52 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.5642, allocations: 40.17 kB / 0.5731 GB, free: 40.49 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.5643, allocations: 329.5 kB / 0.5734 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.5644, allocations: 53.08 kB / 0.5734 GB, free: 40.14 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.439e-05/0.5645, allocations: 89.92 kB / 0.5735 GB, free: 40.07 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.5647, allocations: 151.1 kB / 0.5737 GB, free: 39.98 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5647, allocations: 0 / 0.5737 GB, free: 39.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003837/0.5651, allocations: 229.7 kB / 0.5739 GB, free: 39.85 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5651, allocations: 9.594 kB / 0.5739 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5651, allocations: 5.312 kB / 0.5739 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.5654, allocations: 65.81 kB / 0.574 GB, free: 39.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.5655, allocations: 26.72 kB / 0.574 GB, free: 39.8 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.5666, allocations: 1.583 MB / 0.5755 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.5667, allocations: 11.41 kB / 0.5756 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.5667, allocations: 4.281 kB / 0.5756 GB, free: 38.25 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.374e-05/0.5668, allocations: 140.4 kB / 0.5757 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.5668, allocations: 2.188 kB / 0.5757 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.5669, allocations: 13.03 kB / 0.5757 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.5669, allocations: 1.188 kB / 0.5757 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5669, allocations: 0.9062 kB / 0.5757 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5669, allocations: 0.9688 kB / 0.5757 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.567, allocations: 216 kB / 0.5759 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5671, allocations: 0 / 0.5759 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.5672, allocations: 26.17 kB / 0.5759 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/0.5674, allocations: 63.11 kB / 0.576 GB, free: 37.82 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.5675, allocations: 3.875 kB / 0.576 GB, free: 37.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009811/0.5685, allocations: 1.582 MB / 0.5776 GB, free: 36.3 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5685, allocations: 7.922 kB / 0.5776 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.5689, allocations: 259.2 kB / 0.5778 GB, free: 36.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.5689, allocations: 90.11 kB / 0.5779 GB, free: 36.02 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.5689, allocations: 7.406 kB / 0.5779 GB, free: 36.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.937e-05/0.569, allocations: 1.188 kB / 0.5779 GB, free: 36.02 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.569, allocations: 13.05 kB / 0.5779 GB, free: 36.01 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.569, allocations: 10.12 kB / 0.5779 GB, free: 36 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.255e-05/0.5691, allocations: 81.67 kB / 0.578 GB, free: 35.92 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5691, allocations: 0 / 0.578 GB, free: 35.92 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002294/0.5693, allocations: 28.19 kB / 0.578 GB, free: 35.92 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 8.574e-05/0.5694, allocations: 109.2 kB / 0.5781 GB, free: 35.82 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.5699, allocations: 271.8 kB / 0.5784 GB, free: 35.64 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.5699, allocations: 0 / 0.5784 GB, free: 35.64 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.5701, allocations: 195.6 kB / 0.5786 GB, free: 35.49 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.5703, allocations: 7 kB / 0.5786 GB, free: 35.48 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008123/0.5711, allocations: 0.6627 MB / 0.5792 GB, free: 34.93 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.5713, allocations: 0.7009 MB / 0.5799 GB, free: 34.22 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.503e-05/0.5713, allocations: 24.5 kB / 0.5799 GB, free: 34.21 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.5713, allocations: 11.19 kB / 0.58 GB, free: 34.21 MB / 462.3 MB Notification: Performance of SimCode: time 2.11e-07/0.5714, allocations: 4 kB / 0.58 GB, free: 34.21 MB / 462.3 MB Notification: Performance of Templates: time 0.00361/0.575, allocations: 1.301 MB / 0.5812 GB, free: 33.6 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