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.001329/0.001329, allocations: 109 kB / 17.16 MB, free: 6.324 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.001234/0.001234, allocations: 202.8 kB / 18.08 MB, free: 5.422 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.341/1.341, allocations: 222.9 MB / 241.8 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9767/0.9767, allocations: 119.3 MB / 411.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001398, allocations: 59.89 kB / 0.4909 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5403, allocations: 80.68 MB / 0.5697 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002231/0.5425, allocations: 1.287 MB / 0.5709 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001792/0.5427, allocations: 50.77 kB / 0.571 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.5428, allocations: 3.938 kB / 0.571 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.263e-05/0.5429, allocations: 1.031 kB / 0.571 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.108e-05/0.5429, allocations: 16.7 kB / 0.571 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.5431, allocations: 16.69 kB / 0.571 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003751/0.5435, allocations: 455.5 kB / 0.5715 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.5435, allocations: 4.219 kB / 0.5715 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.5437, allocations: 150.5 kB / 0.5716 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.5439, allocations: 154.8 kB / 0.5718 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.425e-05/0.544, allocations: 22.84 kB / 0.5718 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.544, allocations: 22.25 kB / 0.5718 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.5442, allocations: 128.9 kB / 0.5719 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.5443, allocations: 140.8 kB / 0.5721 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.5445, allocations: 181.4 kB / 0.5722 GB, free: 41.77 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5445, allocations: 0 / 0.5722 GB, free: 41.77 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.82e-07/0.5445, allocations: 0 / 0.5722 GB, free: 41.77 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.5445, allocations: 1.094 kB / 0.5722 GB, free: 41.77 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.001493/0.546, allocations: 0.7577 MB / 0.573 GB, free: 41.19 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.5461, allocations: 13.98 kB / 0.573 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.544e-05/0.5462, allocations: 27.12 kB / 0.573 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.5465, allocations: 235.7 kB / 0.5732 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.5465, allocations: 35.91 kB / 0.5733 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.378e-05/0.5466, allocations: 58.67 kB / 0.5733 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.5471, allocations: 328 kB / 0.5736 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.5471, allocations: 9.906 kB / 0.5736 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.5472, allocations: 13.81 kB / 0.5737 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.5472, allocations: 5.75 kB / 0.5737 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.5475, allocations: 220 kB / 0.5739 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.5481, allocations: 474.3 kB / 0.5743 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008635/0.5489, allocations: 0.489 MB / 0.5748 GB, free: 40.01 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.5493, allocations: 240 kB / 0.575 GB, free: 39.9 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.5493, allocations: 9.938 kB / 0.575 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.5493, allocations: 39.06 kB / 0.5751 GB, free: 39.85 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.793e-06/0.5494, allocations: 0 / 0.5751 GB, free: 39.85 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.00406/0.5534, allocations: 1.253 MB / 0.5763 GB, free: 39.17 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.5535, allocations: 58.5 kB / 0.5764 GB, free: 39.11 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.054e-05/0.5536, allocations: 105 kB / 0.5765 GB, free: 39 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.5536, allocations: 49.45 kB / 0.5765 GB, free: 38.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.5537, allocations: 89.08 kB / 0.5766 GB, free: 38.86 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.5539, allocations: 244.9 kB / 0.5768 GB, free: 38.65 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.5541, allocations: 148.3 kB / 0.577 GB, free: 38.56 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.5542, allocations: 342.1 kB / 0.5773 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.5546, allocations: 256 kB / 0.5775 GB, free: 38.12 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.5552, allocations: 432.6 kB / 0.5779 GB, free: 37.8 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.5563, allocations: 0.727 MB / 0.5787 GB, free: 37.34 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5563, allocations: 0.9375 kB / 0.5787 GB, free: 37.34 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002256/0.5585, allocations: 1.006 MB / 0.5796 GB, free: 36.86 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.5586, allocations: 12.84 kB / 0.5797 GB, free: 36.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.5586, allocations: 5.062 kB / 0.5797 GB, free: 36.85 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.5599, allocations: 297.8 kB / 0.5799 GB, free: 36.72 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.5605, allocations: 180.4 kB / 0.5801 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004344/0.5648, allocations: 2.877 MB / 0.5829 GB, free: 34.58 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.5652, allocations: 57.44 kB / 0.583 GB, free: 34.54 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/0.5652, allocations: 26.03 kB / 0.583 GB, free: 34.53 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.000212/0.5655, allocations: 173.8 kB / 0.5832 GB, free: 34.38 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.5655, allocations: 25.88 kB / 0.5832 GB, free: 34.36 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.5657, allocations: 60.16 kB / 0.5833 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.5657, allocations: 5.562 kB / 0.5833 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.917e-05/0.5657, allocations: 4.438 kB / 0.5833 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.5657, allocations: 7.984 kB / 0.5833 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005385/0.5663, allocations: 459.4 kB / 0.5837 GB, free: 33.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.5663, allocations: 3.984 kB / 0.5837 GB, free: 33.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007577/0.5671, allocations: 131.2 kB / 0.5838 GB, free: 33.92 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001267/0.5683, allocations: 291 kB / 0.5841 GB, free: 33.79 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/0.5684, allocations: 28.69 kB / 0.5841 GB, free: 33.78 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/0.5724, allocations: 2.872 MB / 0.5869 GB, free: 31.56 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5724, allocations: 0 / 0.5869 GB, free: 31.56 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.5742, allocations: 1.139 MB / 0.5881 GB, free: 30.4 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.5742, allocations: 100.8 kB / 0.5882 GB, free: 30.28 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.5743, allocations: 31.91 kB / 0.5882 GB, free: 30.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.5745, allocations: 8 kB / 0.5882 GB, free: 30.24 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/0.5746, allocations: 48.5 kB / 0.5882 GB, free: 30.2 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.5746, allocations: 15.98 kB / 0.5883 GB, free: 30.18 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.128e-05/0.5746, allocations: 87.27 kB / 0.5883 GB, free: 30.09 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5747, allocations: 0 / 0.5883 GB, free: 30.09 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005361/0.5752, allocations: 144 kB / 0.5885 GB, free: 29.95 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.0001486/0.5753, allocations: 131.7 kB / 0.5886 GB, free: 29.81 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.577, allocations: 0.8949 MB / 0.5895 GB, free: 28.9 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.577, allocations: 1.188 kB / 0.5895 GB, free: 28.9 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000962/0.5779, allocations: 0.5551 MB / 0.59 GB, free: 28.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.5782, allocations: 20 kB / 0.59 GB, free: 28.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.5817, allocations: 3.015 MB / 0.593 GB, free: 25.26 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.582, allocations: 0.8052 MB / 0.5938 GB, free: 24.43 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.465e-05/0.5821, allocations: 27.44 kB / 0.5938 GB, free: 24.4 MB / 462.3 MB Notification: Performance of SimCode: time 1.322e-06/0.5821, allocations: 0 / 0.5938 GB, free: 24.4 MB / 462.3 MB Notification: Performance of Templates: time 0.006303/0.5884, allocations: 4.573 MB / 0.5983 GB, free: 19.85 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