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.001259/0.001259, allocations: 111.8 kB / 17.29 MB, free: 6.219 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.001282/0.001282, allocations: 197.9 kB / 18.21 MB, free: 5.293 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.293/1.293, allocations: 222.9 MB / 241.9 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9347/0.9347, allocations: 119.3 MB / 411.4 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001728, allocations: 59.91 kB / 0.4911 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5627, allocations: 80.69 MB / 0.5699 GB, free: 43.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002316/0.5651, allocations: 1.29 MB / 0.5711 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001928/0.5653, allocations: 50.86 kB / 0.5712 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.5653, allocations: 1.375 kB / 0.5712 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.606e-05/0.5654, allocations: 3.938 kB / 0.5712 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.5655, allocations: 9.266 kB / 0.5712 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.5656, allocations: 20.11 kB / 0.5712 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.566, allocations: 438.8 kB / 0.5716 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.015e-05/0.5661, allocations: 7.781 kB / 0.5716 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.5662, allocations: 159.7 kB / 0.5718 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.5664, allocations: 146.5 kB / 0.5719 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.459e-05/0.5665, allocations: 22.56 kB / 0.572 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.404e-05/0.5665, allocations: 22.28 kB / 0.572 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.5667, allocations: 132.2 kB / 0.5721 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.5668, allocations: 138.2 kB / 0.5722 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.567, allocations: 183.1 kB / 0.5724 GB, free: 41.69 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.567, allocations: 4 kB / 0.5724 GB, free: 41.69 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.503e-06/0.567, allocations: 0 / 0.5724 GB, free: 41.69 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.567, allocations: 0 / 0.5724 GB, free: 41.69 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.001444/0.5685, allocations: 0.7596 MB / 0.5732 GB, free: 41.11 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.5685, allocations: 12.98 kB / 0.5732 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.637e-05/0.5686, allocations: 23.94 kB / 0.5732 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.5688, allocations: 250.4 kB / 0.5734 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.5689, allocations: 27.78 kB / 0.5735 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.763e-05/0.5689, allocations: 60.38 kB / 0.5735 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.5695, allocations: 331.4 kB / 0.5738 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.5695, allocations: 12.91 kB / 0.5738 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.5695, allocations: 14.38 kB / 0.5739 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.5695, allocations: 5.844 kB / 0.5739 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.5699, allocations: 212.7 kB / 0.5741 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.5704, allocations: 477.5 kB / 0.5745 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007974/0.5712, allocations: 496.3 kB / 0.575 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.5716, allocations: 246.2 kB / 0.5752 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.5716, allocations: 10.03 kB / 0.5752 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.5716, allocations: 37.81 kB / 0.5753 GB, free: 39.76 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.663e-06/0.5716, allocations: 0 / 0.5753 GB, free: 39.76 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003523/0.5752, allocations: 1.248 MB / 0.5765 GB, free: 39.09 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.5752, allocations: 57.78 kB / 0.5765 GB, free: 39.03 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.95e-05/0.5753, allocations: 113.1 kB / 0.5767 GB, free: 38.91 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.5753, allocations: 41.8 kB / 0.5767 GB, free: 38.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.5754, allocations: 92.89 kB / 0.5768 GB, free: 38.78 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.5755, allocations: 244.7 kB / 0.577 GB, free: 38.56 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.5757, allocations: 148.8 kB / 0.5772 GB, free: 38.47 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.5758, allocations: 349.5 kB / 0.5775 GB, free: 38.13 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.5761, allocations: 251.8 kB / 0.5777 GB, free: 38.03 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.5766, allocations: 429.2 kB / 0.5781 GB, free: 37.71 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009375/0.5776, allocations: 0.7212 MB / 0.5788 GB, free: 37.27 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5776, allocations: 0 / 0.5788 GB, free: 37.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001875/0.5795, allocations: 1.012 MB / 0.5798 GB, free: 36.77 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.5795, allocations: 7.562 kB / 0.5798 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5795, allocations: 9.094 kB / 0.5799 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.5807, allocations: 297.9 kB / 0.5801 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.5812, allocations: 167 kB / 0.5803 GB, free: 36.6 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/0.5851, allocations: 3.12 MB / 0.5833 GB, free: 34.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.5854, allocations: 53.81 kB / 0.5834 GB, free: 34.28 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.5855, allocations: 29.62 kB / 0.5834 GB, free: 34.27 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.0001643/0.5856, allocations: 174.8 kB / 0.5836 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.5857, allocations: 21.78 kB / 0.5836 GB, free: 34.11 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.5858, allocations: 59.38 kB / 0.5837 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.5858, allocations: 6.688 kB / 0.5837 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/0.5859, allocations: 11.5 kB / 0.5837 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.5859, allocations: 3.984 kB / 0.5837 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.5863, allocations: 458.5 kB / 0.5841 GB, free: 33.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5863, allocations: 5.016 kB / 0.5841 GB, free: 33.69 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/0.587, allocations: 135.9 kB / 0.5843 GB, free: 33.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.5882, allocations: 293.5 kB / 0.5845 GB, free: 33.53 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.595e-05/0.5882, allocations: 26.38 kB / 0.5846 GB, free: 33.52 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003538/0.5918, allocations: 3.105 MB / 0.5876 GB, free: 31 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5918, allocations: 0 / 0.5876 GB, free: 31 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.5934, allocations: 1.124 MB / 0.5887 GB, free: 29.86 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.5935, allocations: 108.8 kB / 0.5888 GB, free: 29.73 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.5935, allocations: 27.92 kB / 0.5888 GB, free: 29.7 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.5937, allocations: 15.94 kB / 0.5888 GB, free: 29.69 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.5938, allocations: 52.47 kB / 0.5889 GB, free: 29.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.5939, allocations: 23.94 kB / 0.5889 GB, free: 29.61 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.251e-05/0.5939, allocations: 75.28 kB / 0.589 GB, free: 29.54 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5939, allocations: 0 / 0.589 GB, free: 29.54 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004412/0.5943, allocations: 144 kB / 0.5891 GB, free: 29.4 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.0001304/0.5945, allocations: 139.7 kB / 0.5893 GB, free: 29.25 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.5961, allocations: 1.052 MB / 0.5903 GB, free: 28.18 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5961, allocations: 4 kB / 0.5903 GB, free: 28.18 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009073/0.597, allocations: 0.5555 MB / 0.5908 GB, free: 27.61 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.5973, allocations: 31.94 kB / 0.5909 GB, free: 27.58 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.6002, allocations: 2.997 MB / 0.5938 GB, free: 24.54 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.6004, allocations: 0.8076 MB / 0.5946 GB, free: 23.71 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.417e-05/0.6005, allocations: 31.44 kB / 0.5946 GB, free: 23.68 MB / 462.3 MB Notification: Performance of SimCode: time 2.91e-07/0.6005, allocations: 0 / 0.5946 GB, free: 23.68 MB / 462.3 MB Notification: Performance of Templates: time 0.005509/0.606, allocations: 4.568 MB / 0.5991 GB, free: 19.13 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