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.001163/0.001163, allocations: 108.3 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.001322/0.001322, allocations: 192 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.376/1.376, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.018/1.018, allocations: 119.3 MB / 411.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.89 kB / 0.4924 GB, free: 13.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5466/0.5479, allocations: 80.68 MB / 0.5711 GB, free: 43.45 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002192/0.5502, allocations: 1.209 MB / 0.5723 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001889/0.5504, allocations: 47.34 kB / 0.5724 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.5504, allocations: 0 / 0.5724 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.119e-05/0.5505, allocations: 3.938 kB / 0.5724 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.41e-05/0.5506, allocations: 10.56 kB / 0.5724 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.5508, allocations: 24.25 kB / 0.5724 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.5509, allocations: 103.3 kB / 0.5725 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.551, allocations: 5.359 kB / 0.5725 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.551, allocations: 36.53 kB / 0.5725 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.5511, allocations: 33.7 kB / 0.5726 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.5511, allocations: 8.125 kB / 0.5726 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.688e-05/0.5512, allocations: 4.125 kB / 0.5726 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.5512, allocations: 25.53 kB / 0.5726 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.5513, allocations: 30.91 kB / 0.5726 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.067e-05/0.5513, allocations: 49.81 kB / 0.5727 GB, free: 42.28 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5514, allocations: 0 / 0.5727 GB, free: 42.28 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5514, allocations: 0 / 0.5727 GB, free: 42.28 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.5514, allocations: 1.375 kB / 0.5727 GB, free: 42.28 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.0005409/0.5519, allocations: 406.6 kB / 0.5731 GB, free: 41.89 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.552, allocations: 13.11 kB / 0.5731 GB, free: 41.88 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.552, allocations: 4.562 kB / 0.5731 GB, free: 41.88 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.5521, allocations: 184.9 kB / 0.5733 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.5522, allocations: 12.38 kB / 0.5733 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.5522, allocations: 11.09 kB / 0.5733 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.5524, allocations: 85.78 kB / 0.5734 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5524, allocations: 1.531 kB / 0.5734 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.5524, allocations: 5.625 kB / 0.5734 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5524, allocations: 7.938 kB / 0.5734 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.5525, allocations: 44.88 kB / 0.5734 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.5527, allocations: 211.7 kB / 0.5736 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.5531, allocations: 143.8 kB / 0.5738 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.532e-05/0.5532, allocations: 45.75 kB / 0.5738 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.5532, allocations: 5.141 kB / 0.5738 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.5532, allocations: 31.91 kB / 0.5739 GB, free: 41.2 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.5532, allocations: 0 / 0.5739 GB, free: 41.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0007027/0.5539, allocations: 312.7 kB / 0.5742 GB, free: 40.97 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.5539, allocations: 57.3 kB / 0.5742 GB, free: 40.9 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.205e-05/0.554, allocations: 99.48 kB / 0.5743 GB, free: 40.8 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.554, allocations: 29.7 kB / 0.5743 GB, free: 40.77 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.554, allocations: 81.77 kB / 0.5744 GB, free: 40.68 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.5541, allocations: 48.83 kB / 0.5745 GB, free: 40.64 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.5541, allocations: 40.95 kB / 0.5745 GB, free: 40.61 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.5542, allocations: 328.5 kB / 0.5748 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.5543, allocations: 49.48 kB / 0.5749 GB, free: 40.26 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.245e-05/0.5544, allocations: 90.31 kB / 0.5749 GB, free: 40.2 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.5546, allocations: 155.7 kB / 0.5751 GB, free: 40.09 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5546, allocations: 0 / 0.5751 GB, free: 40.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003999/0.555, allocations: 224.9 kB / 0.5753 GB, free: 39.97 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.555, allocations: 9.656 kB / 0.5753 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.555, allocations: 9.094 kB / 0.5753 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/0.5553, allocations: 66.2 kB / 0.5754 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.5555, allocations: 26.16 kB / 0.5754 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.5566, allocations: 1.58 MB / 0.577 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.5567, allocations: 11.62 kB / 0.577 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.5567, allocations: 12.41 kB / 0.577 GB, free: 38.37 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.486e-05/0.5568, allocations: 131.6 kB / 0.5771 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.5568, allocations: 2.344 kB / 0.5771 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.5569, allocations: 17.55 kB / 0.5771 GB, free: 38.22 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.5569, allocations: 2.406 kB / 0.5771 GB, free: 38.22 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5569, allocations: 0 / 0.5771 GB, free: 38.22 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5569, allocations: 5.172 kB / 0.5771 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.557, allocations: 211.9 kB / 0.5773 GB, free: 37.99 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.557, allocations: 8 kB / 0.5773 GB, free: 37.98 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.5572, allocations: 29.58 kB / 0.5774 GB, free: 37.97 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.5575, allocations: 60.23 kB / 0.5774 GB, free: 37.94 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.5575, allocations: 3.188 kB / 0.5774 GB, free: 37.94 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.5585, allocations: 1.577 MB / 0.579 GB, free: 36.41 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5586, allocations: 5.5 kB / 0.579 GB, free: 36.41 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.559, allocations: 257.3 kB / 0.5792 GB, free: 36.24 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.559, allocations: 91.42 kB / 0.5793 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.559, allocations: 2.281 kB / 0.5793 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.056e-05/0.5591, allocations: 5.312 kB / 0.5793 GB, free: 36.13 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.5591, allocations: 12.3 kB / 0.5793 GB, free: 36.12 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.5591, allocations: 7.156 kB / 0.5793 GB, free: 36.12 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.654e-05/0.5592, allocations: 85.61 kB / 0.5794 GB, free: 36.04 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5592, allocations: 0 / 0.5794 GB, free: 36.04 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002367/0.5594, allocations: 28.06 kB / 0.5794 GB, free: 36.04 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.047e-05/0.5595, allocations: 95.94 kB / 0.5795 GB, free: 35.95 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.56, allocations: 270.1 kB / 0.5798 GB, free: 35.76 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.56, allocations: 0 / 0.5798 GB, free: 35.76 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.5603, allocations: 195.6 kB / 0.58 GB, free: 35.61 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.5605, allocations: 8.062 kB / 0.58 GB, free: 35.61 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.5613, allocations: 0.658 MB / 0.5806 GB, free: 35.05 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.5614, allocations: 0.701 MB / 0.5813 GB, free: 34.35 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.5615, allocations: 25.19 kB / 0.5813 GB, free: 34.34 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.5615, allocations: 11.81 kB / 0.5813 GB, free: 34.34 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.5615, allocations: 4 kB / 0.5813 GB, free: 34.33 MB / 462.3 MB Notification: Performance of Templates: time 0.003699/0.5652, allocations: 1.3 MB / 0.5826 GB, free: 33.72 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 gbode -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