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.001301/0.001301, allocations: 97.33 kB / 16.5 MB, free: 6.641 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.001212/0.001212, allocations: 194.3 kB / 17.42 MB, free: 6.066 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9033/0.9033, allocations: 119.3 MB / 410.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.91 kB / 0.4903 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5411, allocations: 80.68 MB / 0.569 GB, free: 43.49 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002453/0.5436, allocations: 1.288 MB / 0.5703 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002018/0.5438, allocations: 46.92 kB / 0.5703 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/0.5438, allocations: 1.375 kB / 0.5703 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.655e-05/0.5439, allocations: 3.938 kB / 0.5703 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.501e-05/0.544, allocations: 13.2 kB / 0.5704 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.5442, allocations: 24.09 kB / 0.5704 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.5445, allocations: 247.6 kB / 0.5706 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.5445, allocations: 7.438 kB / 0.5706 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.29e-05/0.5446, allocations: 80.44 kB / 0.5707 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.5447, allocations: 73.77 kB / 0.5708 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.5448, allocations: 15.55 kB / 0.5708 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.5448, allocations: 11.53 kB / 0.5708 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.581e-05/0.5449, allocations: 61.89 kB / 0.5709 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.545, allocations: 77.23 kB / 0.5709 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.5452, allocations: 116 kB / 0.571 GB, free: 42.05 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5452, allocations: 4 kB / 0.571 GB, free: 42.05 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.52e-07/0.5452, allocations: 0 / 0.571 GB, free: 42.05 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.5452, allocations: 0 / 0.571 GB, free: 42.05 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.0009642/0.5462, allocations: 0.5291 MB / 0.5716 GB, free: 41.59 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.5462, allocations: 8.656 kB / 0.5716 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.5463, allocations: 16.62 kB / 0.5716 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.5465, allocations: 194.1 kB / 0.5718 GB, free: 41.37 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.5465, allocations: 16.78 kB / 0.5718 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.5466, allocations: 35.61 kB / 0.5718 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.5469, allocations: 180.8 kB / 0.572 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.5469, allocations: 2.875 kB / 0.572 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.5469, allocations: 9.125 kB / 0.572 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.547, allocations: 7.984 kB / 0.572 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.5472, allocations: 105.2 kB / 0.5721 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.5475, allocations: 313.2 kB / 0.5724 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.5481, allocations: 266.2 kB / 0.5727 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.5483, allocations: 129.2 kB / 0.5728 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.5483, allocations: 7.453 kB / 0.5728 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.5483, allocations: 36.66 kB / 0.5728 GB, free: 40.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.332e-06/0.5484, allocations: 0 / 0.5728 GB, free: 40.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001693/0.55, allocations: 0.6261 MB / 0.5734 GB, free: 40.28 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.5501, allocations: 54.19 kB / 0.5735 GB, free: 40.22 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.5502, allocations: 104.8 kB / 0.5736 GB, free: 40.11 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.5502, allocations: 35.11 kB / 0.5736 GB, free: 40.07 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.5503, allocations: 90.2 kB / 0.5737 GB, free: 39.98 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.768e-05/0.5504, allocations: 117.2 kB / 0.5738 GB, free: 39.88 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.5505, allocations: 79.28 kB / 0.5739 GB, free: 39.83 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.5506, allocations: 328.5 kB / 0.5742 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.5508, allocations: 133.8 kB / 0.5743 GB, free: 39.45 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.551, allocations: 214.4 kB / 0.5745 GB, free: 39.29 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.5515, allocations: 369.8 kB / 0.5749 GB, free: 39.06 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5515, allocations: 5.219 kB / 0.5749 GB, free: 39.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009946/0.5525, allocations: 0.5163 MB / 0.5754 GB, free: 38.79 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5525, allocations: 7.75 kB / 0.5754 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.5526, allocations: 5.906 kB / 0.5754 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006699/0.5532, allocations: 147.2 kB / 0.5756 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.5535, allocations: 86.72 kB / 0.5756 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.5556, allocations: 2 MB / 0.5776 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.5558, allocations: 39.31 kB / 0.5776 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.5558, allocations: 14.16 kB / 0.5777 GB, free: 36.98 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.0001171/0.5559, allocations: 139.5 kB / 0.5778 GB, free: 36.85 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.556, allocations: 9.75 kB / 0.5778 GB, free: 36.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.126e-05/0.5561, allocations: 38.44 kB / 0.5778 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.5561, allocations: 2.562 kB / 0.5778 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.5561, allocations: 6.672 kB / 0.5778 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5561, allocations: 3.938 kB / 0.5778 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.5564, allocations: 297.4 kB / 0.5781 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5564, allocations: 4.844 kB / 0.5781 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.5568, allocations: 65.5 kB / 0.5782 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006117/0.5574, allocations: 145.6 kB / 0.5783 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.5575, allocations: 22.39 kB / 0.5784 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.5596, allocations: 1.989 MB / 0.5803 GB, free: 34.76 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5596, allocations: 0 / 0.5803 GB, free: 34.76 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.5606, allocations: 0.5757 MB / 0.5809 GB, free: 34.46 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.5607, allocations: 92.8 kB / 0.5809 GB, free: 34.35 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.5607, allocations: 14.8 kB / 0.581 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.679e-05/0.5608, allocations: 4 kB / 0.581 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.5609, allocations: 21.31 kB / 0.581 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.5609, allocations: 10.7 kB / 0.581 GB, free: 34.32 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.376e-05/0.5609, allocations: 78.91 kB / 0.5811 GB, free: 34.25 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5609, allocations: 0 / 0.5811 GB, free: 34.25 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003411/0.5613, allocations: 78 kB / 0.5811 GB, free: 34.23 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.0001249/0.5614, allocations: 116.6 kB / 0.5813 GB, free: 34.13 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009409/0.5624, allocations: 0.4925 MB / 0.5817 GB, free: 33.86 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5624, allocations: 0 / 0.5817 GB, free: 33.86 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006197/0.563, allocations: 325.5 kB / 0.582 GB, free: 33.66 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.5633, allocations: 23.67 kB / 0.5821 GB, free: 33.64 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.565, allocations: 1.517 MB / 0.5836 GB, free: 32.41 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.5652, allocations: 0.7403 MB / 0.5843 GB, free: 31.7 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.5654, allocations: 68.25 kB / 0.5843 GB, free: 31.66 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.5654, allocations: 17.53 kB / 0.5844 GB, free: 31.66 MB / 462.3 MB Notification: Performance of SimCode: time 4.5e-07/0.5655, allocations: 0 / 0.5844 GB, free: 31.66 MB / 462.3 MB Notification: Performance of Templates: time 0.00657/0.572, allocations: 2.696 MB / 0.587 GB, free: 30.38 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/jenkins/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