Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001419/0.001419, allocations: 191 kB / 18.63 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.284/1.284, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.88/0.88, allocations: 119.3 MB / 411.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 0.4924 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5475, allocations: 80.69 MB / 0.5712 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002304/0.5499, allocations: 1.221 MB / 0.5724 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000199/0.5501, allocations: 42.41 kB / 0.5724 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.5501, allocations: 1.344 kB / 0.5724 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.748e-05/0.5502, allocations: 7.984 kB / 0.5724 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.482e-05/0.5503, allocations: 10.48 kB / 0.5724 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.5505, allocations: 24.77 kB / 0.5724 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.5507, allocations: 229.8 kB / 0.5727 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.02e-05/0.5508, allocations: 7.797 kB / 0.5727 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.157e-05/0.5509, allocations: 76.8 kB / 0.5727 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.551, allocations: 78.66 kB / 0.5728 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.551, allocations: 10.22 kB / 0.5728 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.997e-05/0.5511, allocations: 12.25 kB / 0.5728 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/0.5512, allocations: 66.16 kB / 0.5729 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.317e-05/0.5513, allocations: 65.3 kB / 0.573 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.5514, allocations: 124.3 kB / 0.5731 GB, free: 42.12 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5514, allocations: 4 kB / 0.5731 GB, free: 42.12 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5514, allocations: 0 / 0.5731 GB, free: 42.12 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.5514, allocations: 0 / 0.5731 GB, free: 42.12 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009101/0.5524, allocations: 0.5302 MB / 0.5736 GB, free: 41.66 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5524, allocations: 12.08 kB / 0.5736 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.5525, allocations: 12.91 kB / 0.5736 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.5527, allocations: 199.3 kB / 0.5738 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.5527, allocations: 18.72 kB / 0.5738 GB, free: 41.43 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.5528, allocations: 28.56 kB / 0.5739 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.5531, allocations: 189.8 kB / 0.574 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.5531, allocations: 2.781 kB / 0.574 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.5531, allocations: 9.156 kB / 0.574 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.5532, allocations: 2.812 kB / 0.5741 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.5534, allocations: 113.2 kB / 0.5742 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.5537, allocations: 310.8 kB / 0.5745 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.5543, allocations: 268.8 kB / 0.5747 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.5545, allocations: 125.5 kB / 0.5748 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.5545, allocations: 2.781 kB / 0.5748 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.5545, allocations: 40.83 kB / 0.5749 GB, free: 40.72 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.273e-06/0.5545, allocations: 0 / 0.5749 GB, free: 40.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.00165/0.5562, allocations: 0.6252 MB / 0.5755 GB, free: 40.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.5562, allocations: 54.16 kB / 0.5755 GB, free: 40.28 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.775e-05/0.5563, allocations: 103.3 kB / 0.5756 GB, free: 40.18 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.5563, allocations: 35.86 kB / 0.5757 GB, free: 40.14 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.48e-05/0.5564, allocations: 86.95 kB / 0.5758 GB, free: 40.05 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/0.5564, allocations: 121 kB / 0.5759 GB, free: 39.94 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/0.5565, allocations: 80.16 kB / 0.5759 GB, free: 39.89 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.5566, allocations: 328.8 kB / 0.5763 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.5568, allocations: 129.4 kB / 0.5764 GB, free: 39.51 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.557, allocations: 213.9 kB / 0.5766 GB, free: 39.36 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.5575, allocations: 374.8 kB / 0.5769 GB, free: 39.12 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5575, allocations: 5.188 kB / 0.5769 GB, free: 39.12 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000898/0.5584, allocations: 0.5193 MB / 0.5775 GB, free: 38.85 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5584, allocations: 6.875 kB / 0.5775 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.5584, allocations: 6.844 kB / 0.5775 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006344/0.5591, allocations: 147.2 kB / 0.5776 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.5593, allocations: 86.69 kB / 0.5777 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.5616, allocations: 2.153 MB / 0.5798 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.5618, allocations: 34.98 kB / 0.5798 GB, free: 36.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.5618, allocations: 16 kB / 0.5798 GB, free: 36.91 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 40 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.5619, allocations: 142.8 kB / 0.58 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.5619, allocations: 13.38 kB / 0.58 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.598e-05/0.562, allocations: 34.12 kB / 0.58 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.562, allocations: 3.688 kB / 0.58 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.562, allocations: 1.844 kB / 0.58 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5621, allocations: 3.984 kB / 0.58 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.5623, allocations: 298.2 kB / 0.5803 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5623, allocations: 4.844 kB / 0.5803 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.5627, allocations: 70.09 kB / 0.5804 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006028/0.5634, allocations: 152.9 kB / 0.5805 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.5634, allocations: 18.42 kB / 0.5806 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.5655, allocations: 2.14 MB / 0.5826 GB, free: 34.56 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5655, allocations: 3.984 kB / 0.5826 GB, free: 34.56 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009536/0.5665, allocations: 0.572 MB / 0.5832 GB, free: 34.26 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.5665, allocations: 92.75 kB / 0.5833 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.5666, allocations: 15.5 kB / 0.5833 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.5667, allocations: 9.234 kB / 0.5833 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.5667, allocations: 22.06 kB / 0.5833 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.5668, allocations: 6.312 kB / 0.5833 GB, free: 34.12 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.501e-05/0.5668, allocations: 81.81 kB / 0.5834 GB, free: 34.05 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5668, allocations: 4 kB / 0.5834 GB, free: 34.04 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003547/0.5672, allocations: 71.34 kB / 0.5835 GB, free: 34.03 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.5673, allocations: 120.6 kB / 0.5836 GB, free: 33.93 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009869/0.5683, allocations: 0.498 MB / 0.5841 GB, free: 33.65 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5683, allocations: 0 / 0.5841 GB, free: 33.65 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.5688, allocations: 330.1 kB / 0.5844 GB, free: 33.45 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.5691, allocations: 20.59 kB / 0.5844 GB, free: 33.43 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.5707, allocations: 1.466 MB / 0.5859 GB, free: 32.26 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.5708, allocations: 0.739 MB / 0.5866 GB, free: 31.54 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.571, allocations: 68.88 kB / 0.5866 GB, free: 31.51 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.571, allocations: 16.5 kB / 0.5867 GB, free: 31.5 MB / 462.3 MB Notification: Performance of SimCode: time 3.5e-07/0.571, allocations: 0 / 0.5867 GB, free: 31.5 MB / 462.3 MB Notification: Performance of Templates: time 0.005652/0.5767, allocations: 2.767 MB / 0.5894 GB, free: 30.11 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches