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.001632/0.001632, allocations: 107.3 kB / 16.92 MB, free: 5.664 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.001798/0.001798, allocations: 190.8 kB / 17.85 MB, free: 5.176 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.327/1.327, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9567/0.9567, allocations: 119.3 MB / 411 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 0.4909 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.5267, allocations: 80.69 MB / 0.5697 GB, free: 43.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002152/0.5289, allocations: 1.223 MB / 0.5709 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002072/0.5292, allocations: 46.58 kB / 0.571 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.5292, allocations: 1.219 kB / 0.571 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.366e-05/0.5293, allocations: 3.938 kB / 0.571 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.5294, allocations: 11.48 kB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.5295, allocations: 15 kB / 0.571 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.5298, allocations: 235.5 kB / 0.5712 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.985e-05/0.5299, allocations: 2.969 kB / 0.5712 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.148e-05/0.5299, allocations: 85.36 kB / 0.5713 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.5301, allocations: 69.81 kB / 0.5714 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.5301, allocations: 11.78 kB / 0.5714 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.358e-05/0.5302, allocations: 11.25 kB / 0.5714 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.5302, allocations: 66.47 kB / 0.5715 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.775e-05/0.5303, allocations: 73.34 kB / 0.5715 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.5305, allocations: 123.9 kB / 0.5717 GB, free: 42.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5305, allocations: 0 / 0.5717 GB, free: 42.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5305, allocations: 0 / 0.5717 GB, free: 42.02 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.5305, allocations: 1.219 kB / 0.5717 GB, free: 42.02 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.0008966/0.5314, allocations: 0.5236 MB / 0.5722 GB, free: 41.56 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.5314, allocations: 13.52 kB / 0.5722 GB, free: 41.56 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.5315, allocations: 16.3 kB / 0.5722 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.5317, allocations: 202.4 kB / 0.5724 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.5317, allocations: 20.5 kB / 0.5724 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.5318, allocations: 28.06 kB / 0.5724 GB, free: 41.31 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.5321, allocations: 181.7 kB / 0.5726 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.5321, allocations: 6.281 kB / 0.5726 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.5321, allocations: 5.219 kB / 0.5726 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.5321, allocations: 3.906 kB / 0.5726 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.5324, allocations: 112.6 kB / 0.5727 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.5327, allocations: 310 kB / 0.573 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.5332, allocations: 265.9 kB / 0.5733 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.5334, allocations: 133.1 kB / 0.5734 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.5334, allocations: 6.781 kB / 0.5734 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.5335, allocations: 35.69 kB / 0.5735 GB, free: 40.62 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.353e-06/0.5335, allocations: 1.562 kB / 0.5735 GB, free: 40.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001684/0.5352, allocations: 0.6199 MB / 0.5741 GB, free: 40.25 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.5352, allocations: 63.64 kB / 0.5741 GB, free: 40.18 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.5353, allocations: 103.4 kB / 0.5742 GB, free: 40.07 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.5353, allocations: 31.02 kB / 0.5743 GB, free: 40.04 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.5353, allocations: 91.48 kB / 0.5743 GB, free: 39.95 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.854e-05/0.5354, allocations: 120.2 kB / 0.5745 GB, free: 39.84 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.5356, allocations: 80.45 kB / 0.5745 GB, free: 39.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.5356, allocations: 328.3 kB / 0.5748 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.5359, allocations: 125.4 kB / 0.575 GB, free: 39.41 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.5361, allocations: 217.1 kB / 0.5752 GB, free: 39.25 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.5367, allocations: 368.1 kB / 0.5755 GB, free: 39.03 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.5367, allocations: 5 kB / 0.5755 GB, free: 39.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001077/0.5378, allocations: 0.5165 MB / 0.576 GB, free: 38.76 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.5378, allocations: 13.78 kB / 0.576 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.5378, allocations: 1.562 kB / 0.576 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006991/0.5385, allocations: 153.4 kB / 0.5762 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.5388, allocations: 77.88 kB / 0.5763 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.5413, allocations: 2.165 MB / 0.5784 GB, free: 36.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.5415, allocations: 31.06 kB / 0.5784 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.5415, allocations: 16.19 kB / 0.5784 GB, free: 36.82 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.0001404/0.5417, allocations: 142.7 kB / 0.5786 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.5417, allocations: 17.36 kB / 0.5786 GB, free: 36.67 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.026e-05/0.5418, allocations: 34.12 kB / 0.5786 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.5418, allocations: 3.719 kB / 0.5786 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.5418, allocations: 1.844 kB / 0.5786 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5418, allocations: 7.922 kB / 0.5786 GB, free: 36.63 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.5422, allocations: 301.8 kB / 0.5789 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5422, allocations: 3.938 kB / 0.5789 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.5426, allocations: 66.38 kB / 0.579 GB, free: 36.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005915/0.5432, allocations: 148.9 kB / 0.5791 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.5432, allocations: 15.39 kB / 0.5791 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.5453, allocations: 2.151 MB / 0.5812 GB, free: 34.45 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5453, allocations: 0 / 0.5812 GB, free: 34.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009566/0.5463, allocations: 0.5688 MB / 0.5818 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.5463, allocations: 93.98 kB / 0.5819 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.5464, allocations: 14.23 kB / 0.5819 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.5465, allocations: 5.25 kB / 0.5819 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.5465, allocations: 27.34 kB / 0.5819 GB, free: 34.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.5466, allocations: 9.062 kB / 0.5819 GB, free: 34.02 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.875e-05/0.5466, allocations: 81.8 kB / 0.582 GB, free: 33.94 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.5466, allocations: 0 / 0.582 GB, free: 33.94 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003529/0.547, allocations: 71.31 kB / 0.5821 GB, free: 33.93 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.0001248/0.5471, allocations: 113.8 kB / 0.5822 GB, free: 33.83 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009872/0.5481, allocations: 0.5435 MB / 0.5827 GB, free: 33.54 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5481, allocations: 0 / 0.5827 GB, free: 33.54 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005554/0.5487, allocations: 330.1 kB / 0.583 GB, free: 33.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.5489, allocations: 23.64 kB / 0.5831 GB, free: 33.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.5506, allocations: 1.474 MB / 0.5845 GB, free: 32.14 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.5508, allocations: 0.7427 MB / 0.5852 GB, free: 31.42 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.5509, allocations: 69.41 kB / 0.5853 GB, free: 31.39 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.551, allocations: 16.66 kB / 0.5853 GB, free: 31.38 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.551, allocations: 0 / 0.5853 GB, free: 31.38 MB / 462.3 MB Notification: Performance of Templates: time 0.006587/0.5576, allocations: 2.747 MB / 0.588 GB, free: 30.07 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","/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