Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009092/0.0009093, allocations: 91.8 kB / 17.31 MB, free: 6.535 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.0009781/0.000978, allocations: 179.2 kB / 18.22 MB, free: 5.676 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.31/1.31, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.014/1.014, allocations: 120.5 MB / 413.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 8 kB / 0.4955 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5539/0.5543, allocations: 82.84 MB / 0.5764 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001119/0.5554, allocations: 0.956 MB / 0.5774 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000171/0.5556, allocations: 42.78 kB / 0.5774 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.5557, allocations: 1.469 kB / 0.5774 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.794e-05/0.5557, allocations: 5.359 kB / 0.5774 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.954e-05/0.5558, allocations: 10.81 kB / 0.5774 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.556, allocations: 20.39 kB / 0.5774 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004189/0.5564, allocations: 451.3 kB / 0.5779 GB, free: 40.31 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.5564, allocations: 3.375 kB / 0.5779 GB, free: 40.31 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.5566, allocations: 155.3 kB / 0.578 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.5568, allocations: 151 kB / 0.5782 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.93e-05/0.5569, allocations: 22.28 kB / 0.5782 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.727e-05/0.5569, allocations: 22.59 kB / 0.5782 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.557, allocations: 131.7 kB / 0.5783 GB, free: 40.06 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.5572, allocations: 164.8 kB / 0.5785 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.5573, allocations: 183.9 kB / 0.5787 GB, free: 39.85 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5573, allocations: 1.188 kB / 0.5787 GB, free: 39.85 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5573, allocations: 0 / 0.5787 GB, free: 39.85 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.5574, allocations: 0 / 0.5787 GB, free: 39.85 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001412/0.5588, allocations: 0.7212 MB / 0.5794 GB, free: 39.29 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5588, allocations: 10.12 kB / 0.5794 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.5589, allocations: 24.19 kB / 0.5794 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.5591, allocations: 242 kB / 0.5796 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.5591, allocations: 28.28 kB / 0.5797 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-05/0.5592, allocations: 55.66 kB / 0.5797 GB, free: 39.01 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.5597, allocations: 335.4 kB / 0.58 GB, free: 38.82 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.5598, allocations: 17.45 kB / 0.5801 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.5598, allocations: 13.31 kB / 0.5801 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.5598, allocations: 6.875 kB / 0.5801 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.5601, allocations: 216.4 kB / 0.5803 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.5606, allocations: 473.8 kB / 0.5807 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.5614, allocations: 0.4914 MB / 0.5812 GB, free: 38.11 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.5618, allocations: 237.2 kB / 0.5814 GB, free: 38 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.5618, allocations: 10.06 kB / 0.5815 GB, free: 37.99 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.5618, allocations: 41.81 kB / 0.5815 GB, free: 37.94 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.693e-06/0.5618, allocations: 0.9375 kB / 0.5815 GB, free: 37.94 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003849/0.5657, allocations: 1.247 MB / 0.5827 GB, free: 37.27 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.5657, allocations: 62.28 kB / 0.5828 GB, free: 37.21 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.5658, allocations: 113.4 kB / 0.5829 GB, free: 37.09 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.5658, allocations: 41.48 kB / 0.5829 GB, free: 37.05 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.5659, allocations: 91.98 kB / 0.583 GB, free: 36.96 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.566, allocations: 245.5 kB / 0.5832 GB, free: 36.74 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.5661, allocations: 83.77 kB / 0.5833 GB, free: 36.69 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.871e-05/0.5662, allocations: 348.9 kB / 0.5837 GB, free: 36.35 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.5666, allocations: 252.2 kB / 0.5839 GB, free: 36.25 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.567, allocations: 428.6 kB / 0.5843 GB, free: 35.93 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008791/0.5679, allocations: 0.7157 MB / 0.585 GB, free: 35.49 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.5679, allocations: 1.219 kB / 0.585 GB, free: 35.49 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001915/0.5698, allocations: 1.017 MB / 0.586 GB, free: 34.99 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.5699, allocations: 6.469 kB / 0.586 GB, free: 34.99 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.5699, allocations: 5.219 kB / 0.586 GB, free: 34.99 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.5711, allocations: 295 kB / 0.5863 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.5716, allocations: 168.3 kB / 0.5865 GB, free: 34.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/0.5753, allocations: 2.908 MB / 0.5893 GB, free: 32.62 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.5755, allocations: 51.44 kB / 0.5893 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.5756, allocations: 35.94 kB / 0.5894 GB, free: 32.54 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (81): * Single equations (assignments): 80 * 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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.5758, allocations: 178.4 kB / 0.5895 GB, free: 32.35 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.5758, allocations: 27.66 kB / 0.5896 GB, free: 32.32 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.576, allocations: 57.88 kB / 0.5896 GB, free: 32.27 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.576, allocations: 8 kB / 0.5896 GB, free: 32.26 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/0.576, allocations: 4 kB / 0.5896 GB, free: 32.26 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.576, allocations: 3.984 kB / 0.5896 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.5764, allocations: 457.6 kB / 0.5901 GB, free: 31.76 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5764, allocations: 0 / 0.5901 GB, free: 31.76 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/0.5771, allocations: 131.9 kB / 0.5902 GB, free: 31.63 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.5782, allocations: 295.6 kB / 0.5905 GB, free: 31.34 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.5782, allocations: 31.97 kB / 0.5905 GB, free: 31.31 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003198/0.5814, allocations: 2.889 MB / 0.5933 GB, free: 28.29 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5815, allocations: 3.938 kB / 0.5933 GB, free: 28.29 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.5832, allocations: 1.132 MB / 0.5944 GB, free: 27.13 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.5832, allocations: 104.8 kB / 0.5945 GB, free: 27.01 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.5833, allocations: 27.98 kB / 0.5946 GB, free: 26.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.5835, allocations: 15.94 kB / 0.5946 GB, free: 26.97 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/0.5835, allocations: 48.48 kB / 0.5946 GB, free: 26.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.5836, allocations: 12 kB / 0.5946 GB, free: 26.91 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.437e-05/0.5836, allocations: 83.27 kB / 0.5947 GB, free: 26.83 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5836, allocations: 0 / 0.5947 GB, free: 26.83 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004396/0.5841, allocations: 144 kB / 0.5949 GB, free: 26.69 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20]) * 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 (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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001418/0.5842, allocations: 139.7 kB / 0.595 GB, free: 26.54 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.5858, allocations: 0.8882 MB / 0.5959 GB, free: 25.64 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5858, allocations: 4.062 kB / 0.5959 GB, free: 25.63 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009401/0.5867, allocations: 0.5589 MB / 0.5964 GB, free: 25.06 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.587, allocations: 24.81 kB / 0.5964 GB, free: 25.04 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.5901, allocations: 3.539 MB / 0.5999 GB, free: 21.46 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.5903, allocations: 0.8013 MB / 0.6007 GB, free: 20.64 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.239e-05/0.5904, allocations: 27.44 kB / 0.6007 GB, free: 20.61 MB / 462.3 MB Notification: Performance of SimCode: time 5.01e-07/0.5904, allocations: 4 kB / 0.6007 GB, free: 20.61 MB / 462.3 MB Notification: Performance of Templates: time 0.006603/0.597, allocations: 4.538 MB / 0.6051 GB, free: 16.09 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches