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.001328/0.001328, allocations: 112.3 kB / 16.92 MB, free: 5.758 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.001043/0.001043, allocations: 191.3 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.302/1.302, 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.935/0.935, allocations: 119.3 MB / 411 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 55.91 kB / 0.4909 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5062/0.5074, allocations: 80.69 MB / 0.5697 GB, free: 43.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002167/0.5096, allocations: 1.232 MB / 0.5709 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001954/0.5098, allocations: 46.86 kB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.5099, allocations: 0 / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.942e-05/0.51, allocations: 0 / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.51, allocations: 10.67 kB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.5102, allocations: 20.09 kB / 0.571 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.5104, allocations: 231.1 kB / 0.5712 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.225e-05/0.5105, allocations: 2.219 kB / 0.5712 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.963e-05/0.5106, allocations: 82.31 kB / 0.5713 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.5107, allocations: 77.36 kB / 0.5714 GB, free: 42.17 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.5108, allocations: 12.47 kB / 0.5714 GB, free: 42.17 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.622e-05/0.5108, allocations: 11.03 kB / 0.5714 GB, free: 42.17 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.5109, allocations: 69.61 kB / 0.5715 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.673e-05/0.511, allocations: 69.45 kB / 0.5715 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.5111, allocations: 116 kB / 0.5717 GB, free: 42.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5111, allocations: 1.438 kB / 0.5717 GB, free: 42.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5111, allocations: 0 / 0.5717 GB, free: 42.02 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.5111, allocations: 0 / 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.0008684/0.512, allocations: 0.5314 MB / 0.5722 GB, free: 41.55 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.512, allocations: 13.3 kB / 0.5722 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.5121, allocations: 13.53 kB / 0.5722 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.5123, allocations: 205.8 kB / 0.5724 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.5123, allocations: 12.66 kB / 0.5724 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.5123, allocations: 27.72 kB / 0.5724 GB, free: 41.31 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.5126, allocations: 185.2 kB / 0.5726 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.5127, allocations: 2.406 kB / 0.5726 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.5127, allocations: 9.812 kB / 0.5726 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5127, allocations: 2.875 kB / 0.5726 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.5129, allocations: 112.8 kB / 0.5727 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.5132, allocations: 306.5 kB / 0.573 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.5137, allocations: 269.7 kB / 0.5733 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.5139, allocations: 129.3 kB / 0.5734 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.5139, allocations: 2.25 kB / 0.5734 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.5139, allocations: 40.34 kB / 0.5734 GB, free: 40.62 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.353e-06/0.5139, allocations: 5.344 kB / 0.5735 GB, free: 40.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001591/0.5155, allocations: 0.6246 MB / 0.5741 GB, free: 40.24 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.5156, allocations: 54.31 kB / 0.5741 GB, free: 40.18 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.942e-05/0.5156, allocations: 104.2 kB / 0.5742 GB, free: 40.07 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.5157, allocations: 34.73 kB / 0.5742 GB, free: 40.03 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.5157, allocations: 87.23 kB / 0.5743 GB, free: 39.94 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.5158, allocations: 121 kB / 0.5744 GB, free: 39.84 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.809e-05/0.5159, allocations: 75.42 kB / 0.5745 GB, free: 39.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.5159, allocations: 332.1 kB / 0.5748 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.5161, allocations: 125.9 kB / 0.575 GB, free: 39.41 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.5163, allocations: 221.9 kB / 0.5752 GB, free: 39.25 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.5168, allocations: 375.8 kB / 0.5755 GB, free: 39.01 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5168, allocations: 5 kB / 0.5755 GB, free: 39.01 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009114/0.5177, allocations: 0.516 MB / 0.576 GB, free: 38.75 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5177, allocations: 6.125 kB / 0.576 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5177, allocations: 1.438 kB / 0.576 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006327/0.5184, allocations: 156.1 kB / 0.5762 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.5186, allocations: 83.69 kB / 0.5763 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.5207, allocations: 2.157 MB / 0.5784 GB, free: 36.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.5209, allocations: 31.06 kB / 0.5784 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.5209, allocations: 16 kB / 0.5784 GB, free: 36.81 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.0001019/0.521, allocations: 142.6 kB / 0.5786 GB, free: 36.67 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.5211, allocations: 13.34 kB / 0.5786 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.5211, allocations: 34.14 kB / 0.5786 GB, free: 36.63 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5212, allocations: 3.688 kB / 0.5786 GB, free: 36.63 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.5212, allocations: 5.906 kB / 0.5786 GB, free: 36.63 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5212, allocations: 3.938 kB / 0.5786 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.5214, allocations: 305.8 kB / 0.5789 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5215, allocations: 3.938 kB / 0.5789 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.5218, allocations: 70.34 kB / 0.579 GB, free: 36.33 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005852/0.5224, allocations: 144.9 kB / 0.5791 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.5225, allocations: 15.39 kB / 0.5791 GB, free: 36.26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.5245, allocations: 2.139 MB / 0.5812 GB, free: 34.46 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5245, allocations: 4 kB / 0.5812 GB, free: 34.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009271/0.5254, allocations: 0.5729 MB / 0.5818 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.5255, allocations: 93.05 kB / 0.5819 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.5255, allocations: 19.48 kB / 0.5819 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.5256, allocations: 5.25 kB / 0.5819 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.5257, allocations: 22.03 kB / 0.5819 GB, free: 34.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.5257, allocations: 14.3 kB / 0.5819 GB, free: 34.01 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.251e-05/0.5257, allocations: 77.78 kB / 0.582 GB, free: 33.93 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5257, allocations: 3.938 kB / 0.582 GB, free: 33.93 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003204/0.5261, allocations: 71.34 kB / 0.5821 GB, free: 33.92 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.0001033/0.5262, allocations: 124.6 kB / 0.5822 GB, free: 33.81 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009683/0.5271, allocations: 0.5398 MB / 0.5827 GB, free: 33.53 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5272, allocations: 0 / 0.5827 GB, free: 33.53 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005259/0.5277, allocations: 333.5 kB / 0.583 GB, free: 33.32 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.5279, allocations: 15.72 kB / 0.5831 GB, free: 33.31 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.5295, allocations: 1.466 MB / 0.5845 GB, free: 32.14 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.5297, allocations: 0.744 MB / 0.5852 GB, free: 31.42 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.5299, allocations: 68.41 kB / 0.5853 GB, free: 31.39 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.5299, allocations: 20.62 kB / 0.5853 GB, free: 31.38 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.5299, allocations: 0 / 0.5853 GB, free: 31.38 MB / 462.3 MB Notification: Performance of Templates: time 0.005381/0.5353, allocations: 2.75 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","/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