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.001315/0.001315, allocations: 109 kB / 17.28 MB, free: 6.059 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.001316/0.001316, allocations: 198 kB / 18.21 MB, free: 5.145 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.263/1.263, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9405/0.9405, allocations: 119.3 MB / 411.4 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 55.91 kB / 0.4911 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5494/0.5506, allocations: 80.7 MB / 0.5699 GB, free: 43.45 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.003163/0.5539, allocations: 1.292 MB / 0.5711 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002569/0.5542, allocations: 39.81 kB / 0.5712 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.5542, allocations: 3.938 kB / 0.5712 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.5544, allocations: 5.172 kB / 0.5712 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.8e-05/0.5544, allocations: 4.719 kB / 0.5712 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.5547, allocations: 28.8 kB / 0.5712 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.555, allocations: 230.3 kB / 0.5714 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.147e-05/0.5551, allocations: 2.719 kB / 0.5714 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.5552, allocations: 86.55 kB / 0.5715 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.5553, allocations: 72.95 kB / 0.5716 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.5554, allocations: 10.97 kB / 0.5716 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.987e-05/0.5554, allocations: 11.12 kB / 0.5716 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.527e-05/0.5555, allocations: 62.52 kB / 0.5717 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.5557, allocations: 77.36 kB / 0.5718 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.5558, allocations: 89.11 kB / 0.5718 GB, free: 42.05 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5558, allocations: 0 / 0.5718 GB, free: 42.05 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5558, allocations: 5.438 kB / 0.5718 GB, free: 42.04 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.5559, allocations: 0 / 0.5718 GB, free: 42.04 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.001102/0.557, allocations: 0.532 MB / 0.5724 GB, free: 41.58 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.557, allocations: 12.92 kB / 0.5724 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.5571, allocations: 13.38 kB / 0.5724 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.5573, allocations: 197.6 kB / 0.5726 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.5574, allocations: 11.22 kB / 0.5726 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/0.5574, allocations: 32.66 kB / 0.5726 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.5578, allocations: 189 kB / 0.5728 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.5578, allocations: 3.094 kB / 0.5728 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.5579, allocations: 8.938 kB / 0.5728 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.5579, allocations: 4.062 kB / 0.5728 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.5581, allocations: 107.9 kB / 0.5729 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.5584, allocations: 310.8 kB / 0.5732 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.559, allocations: 273.2 kB / 0.5735 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.5592, allocations: 117.7 kB / 0.5736 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.5592, allocations: 6.594 kB / 0.5736 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.5593, allocations: 39.88 kB / 0.5736 GB, free: 40.65 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.5593, allocations: 0 / 0.5736 GB, free: 40.65 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001643/0.5609, allocations: 0.6306 MB / 0.5742 GB, free: 40.27 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.5609, allocations: 54.16 kB / 0.5743 GB, free: 40.21 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.479e-05/0.561, allocations: 104.4 kB / 0.5744 GB, free: 40.1 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.561, allocations: 35.08 kB / 0.5744 GB, free: 40.06 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.11e-05/0.5611, allocations: 83.17 kB / 0.5745 GB, free: 39.98 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.459e-05/0.5611, allocations: 125 kB / 0.5746 GB, free: 39.87 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.5612, allocations: 83.22 kB / 0.5747 GB, free: 39.81 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.401e-05/0.5613, allocations: 328.4 kB / 0.575 GB, free: 39.49 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.5615, allocations: 126.2 kB / 0.5751 GB, free: 39.44 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.5617, allocations: 217.5 kB / 0.5753 GB, free: 39.28 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.5622, allocations: 366 kB / 0.5757 GB, free: 39.05 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5622, allocations: 5.031 kB / 0.5757 GB, free: 39.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009264/0.5631, allocations: 0.5214 MB / 0.5762 GB, free: 38.78 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5631, allocations: 9.953 kB / 0.5762 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5632, allocations: 2.859 kB / 0.5762 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006439/0.5638, allocations: 152.2 kB / 0.5764 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.5641, allocations: 85.19 kB / 0.5764 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.5663, allocations: 2.166 MB / 0.5786 GB, free: 36.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.5664, allocations: 27.06 kB / 0.5786 GB, free: 36.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.5665, allocations: 15.97 kB / 0.5786 GB, free: 36.84 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.0001252/0.5666, allocations: 142.8 kB / 0.5787 GB, free: 36.7 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.5667, allocations: 13.38 kB / 0.5788 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.333e-05/0.5667, allocations: 34.11 kB / 0.5788 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.5668, allocations: 3.688 kB / 0.5788 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.5668, allocations: 1.875 kB / 0.5788 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5668, allocations: 0 / 0.5788 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.5671, allocations: 306 kB / 0.5791 GB, free: 36.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5671, allocations: 3.938 kB / 0.5791 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.5675, allocations: 70.91 kB / 0.5792 GB, free: 36.37 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006029/0.5681, allocations: 148 kB / 0.5793 GB, free: 36.3 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.5681, allocations: 15.36 kB / 0.5793 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.5703, allocations: 2.139 MB / 0.5814 GB, free: 34.49 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5703, allocations: 0 / 0.5814 GB, free: 34.49 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009776/0.5713, allocations: 0.5736 MB / 0.582 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.5713, allocations: 88.73 kB / 0.582 GB, free: 34.08 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.5713, allocations: 22.22 kB / 0.5821 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.5714, allocations: 6.531 kB / 0.5821 GB, free: 34.06 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.5715, allocations: 18.09 kB / 0.5821 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5715, allocations: 14.27 kB / 0.5821 GB, free: 34.05 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.388e-05/0.5716, allocations: 85.75 kB / 0.5822 GB, free: 33.96 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5716, allocations: 0 / 0.5822 GB, free: 33.96 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003509/0.5719, allocations: 71.34 kB / 0.5823 GB, free: 33.95 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.000118/0.572, allocations: 119.3 kB / 0.5824 GB, free: 33.85 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000996/0.5731, allocations: 0.5364 MB / 0.5829 GB, free: 33.57 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5731, allocations: 0 / 0.5829 GB, free: 33.57 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.5736, allocations: 334.5 kB / 0.5832 GB, free: 33.36 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.5738, allocations: 19.78 kB / 0.5832 GB, free: 33.35 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.5757, allocations: 1.55 MB / 0.5847 GB, free: 32.09 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.5759, allocations: 0.7389 MB / 0.5855 GB, free: 31.37 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.576, allocations: 17.53 kB / 0.5855 GB, free: 31.36 MB / 462.3 MB Notification: Performance of SimCode: time 4.7e-07/0.576, allocations: 0 / 0.5855 GB, free: 31.36 MB / 462.3 MB Notification: Performance of Templates: time 0.004284/0.5803, allocations: 2.581 MB / 0.588 GB, free: 30.06 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 -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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches