Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009916/0.0009916, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.0009895/0.0009897, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.392/1.392, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.025/1.025, allocations: 120.5 MB / 413.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 8 kB / 0.4955 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.566/0.5664, allocations: 82.83 MB / 0.5764 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.0011/0.5675, allocations: 0.9602 MB / 0.5774 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001772/0.5677, allocations: 43.38 kB / 0.5774 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.5677, allocations: 0 / 0.5774 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.689e-05/0.5678, allocations: 0 / 0.5774 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.12e-05/0.5679, allocations: 10.92 kB / 0.5774 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.5681, allocations: 24.56 kB / 0.5774 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.5683, allocations: 248.2 kB / 0.5777 GB, free: 41 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.5684, allocations: 9.734 kB / 0.5777 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.111e-05/0.5684, allocations: 77.75 kB / 0.5778 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.5686, allocations: 77.5 kB / 0.5778 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.5686, allocations: 11 kB / 0.5778 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.892e-05/0.5686, allocations: 11 kB / 0.5779 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.5687, allocations: 63.23 kB / 0.5779 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.795e-05/0.5688, allocations: 102.1 kB / 0.578 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 9.144e-05/0.5689, allocations: 96.33 kB / 0.5781 GB, free: 40.74 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5689, allocations: 4 kB / 0.5781 GB, free: 40.74 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5689, allocations: 0 / 0.5781 GB, free: 40.74 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.5689, allocations: 1.375 kB / 0.5781 GB, free: 40.74 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.0008285/0.5698, allocations: 0.5037 MB / 0.5786 GB, free: 40.29 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5698, allocations: 9.625 kB / 0.5786 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.5699, allocations: 17 kB / 0.5786 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.57, allocations: 194.3 kB / 0.5788 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.5701, allocations: 15.03 kB / 0.5788 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.5701, allocations: 37.17 kB / 0.5789 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.5704, allocations: 177 kB / 0.579 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.5704, allocations: 10.53 kB / 0.579 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.5705, allocations: 9.094 kB / 0.5791 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.5705, allocations: 3.812 kB / 0.5791 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.5707, allocations: 103.7 kB / 0.5792 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.571, allocations: 311 kB / 0.5795 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.5715, allocations: 267.4 kB / 0.5797 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.5717, allocations: 120.8 kB / 0.5798 GB, free: 39.42 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.5717, allocations: 4.125 kB / 0.5798 GB, free: 39.42 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.5717, allocations: 43.94 kB / 0.5799 GB, free: 39.37 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.262e-06/0.5717, allocations: 0 / 0.5799 GB, free: 39.37 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001682/0.5734, allocations: 0.6292 MB / 0.5805 GB, free: 38.99 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.5734, allocations: 59.08 kB / 0.5805 GB, free: 38.93 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.587e-05/0.5735, allocations: 99.39 kB / 0.5806 GB, free: 38.82 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.5735, allocations: 35.55 kB / 0.5807 GB, free: 38.79 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.5736, allocations: 86.62 kB / 0.5807 GB, free: 38.7 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.769e-05/0.5737, allocations: 120.1 kB / 0.5809 GB, free: 38.59 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.5737, allocations: 47.23 kB / 0.5809 GB, free: 38.55 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.688e-05/0.5738, allocations: 332.3 kB / 0.5812 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.574, allocations: 125.7 kB / 0.5813 GB, free: 38.18 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.5742, allocations: 210 kB / 0.5815 GB, free: 38.02 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.5747, allocations: 380.5 kB / 0.5819 GB, free: 37.79 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5747, allocations: 3.938 kB / 0.5819 GB, free: 37.78 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009234/0.5756, allocations: 0.52 MB / 0.5824 GB, free: 37.52 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5757, allocations: 5.031 kB / 0.5824 GB, free: 37.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5757, allocations: 3.781 kB / 0.5824 GB, free: 37.52 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006408/0.5763, allocations: 155.8 kB / 0.5826 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.5766, allocations: 81.47 kB / 0.5827 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.5786, allocations: 2.019 MB / 0.5846 GB, free: 35.73 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.5788, allocations: 27.06 kB / 0.5847 GB, free: 35.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.5788, allocations: 16.19 kB / 0.5847 GB, free: 35.71 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.5789, allocations: 138.7 kB / 0.5848 GB, free: 35.58 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.579, allocations: 13.48 kB / 0.5848 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.266e-05/0.5791, allocations: 42.06 kB / 0.5849 GB, free: 35.53 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5791, allocations: 7.672 kB / 0.5849 GB, free: 35.53 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5791, allocations: 1.844 kB / 0.5849 GB, free: 35.53 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5791, allocations: 0 / 0.5849 GB, free: 35.53 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.5794, allocations: 294 kB / 0.5851 GB, free: 35.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.5794, allocations: 0.9062 kB / 0.5851 GB, free: 35.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.5798, allocations: 70.5 kB / 0.5852 GB, free: 35.25 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005676/0.5803, allocations: 140.1 kB / 0.5853 GB, free: 35.19 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.5804, allocations: 23.52 kB / 0.5854 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.5823, allocations: 2.005 MB / 0.5873 GB, free: 33.49 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5824, allocations: 4 kB / 0.5873 GB, free: 33.49 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009909/0.5833, allocations: 0.5645 MB / 0.5879 GB, free: 33.19 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.5834, allocations: 93.11 kB / 0.588 GB, free: 33.08 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.5834, allocations: 11.17 kB / 0.588 GB, free: 33.08 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.5835, allocations: 5.094 kB / 0.588 GB, free: 33.07 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.5836, allocations: 22.69 kB / 0.588 GB, free: 33.06 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.5836, allocations: 14.27 kB / 0.588 GB, free: 33.05 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.168e-05/0.5836, allocations: 77.59 kB / 0.5881 GB, free: 32.98 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5836, allocations: 4 kB / 0.5881 GB, free: 32.98 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003193/0.584, allocations: 75.59 kB / 0.5882 GB, free: 32.96 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.0001178/0.5841, allocations: 120.8 kB / 0.5883 GB, free: 32.86 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009027/0.585, allocations: 0.4923 MB / 0.5888 GB, free: 32.59 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.585, allocations: 0 / 0.5888 GB, free: 32.59 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.5856, allocations: 330.3 kB / 0.5891 GB, free: 32.38 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.5858, allocations: 19.8 kB / 0.5891 GB, free: 32.37 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.5875, allocations: 1.833 MB / 0.5909 GB, free: 30.71 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.5877, allocations: 0.7404 MB / 0.5916 GB, free: 29.95 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.5878, allocations: 15.44 kB / 0.5916 GB, free: 29.93 MB / 462.3 MB Notification: Performance of SimCode: time 3.91e-07/0.5878, allocations: 4 kB / 0.5916 GB, free: 29.93 MB / 462.3 MB Notification: Performance of Templates: time 0.003746/0.5915, allocations: 2.557 MB / 0.5941 GB, free: 27.39 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches