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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.00108, allocations: 103.1 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9706/0.9706, allocations: 120.5 MB / 463 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003287, allocations: 8 kB / 0.5433 GB, free: 42.43 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1657, allocations: 82.85 MB / 0.6242 GB, free: 9.254 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8008/0.9665, allocations: 125.4 MB / 0.7467 GB, free: 8.48 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.9668, allocations: 60.88 kB / 0.7467 GB, free: 8.449 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.007479/0.9743, allocations: 2.438 MB / 0.7491 GB, free: 6.227 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9743, allocations: 0 / 0.7491 GB, free: 6.227 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.9743, allocations: 4 kB / 0.7491 GB, free: 6.223 MB / 0.5107 GB 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.0007641/0.9751, allocations: 479.3 kB / 0.7496 GB, free: 5.715 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.9752, allocations: 8.031 kB / 0.7496 GB, free: 5.707 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.9752, allocations: 19.81 kB / 0.7496 GB, free: 5.688 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.9755, allocations: 202.9 kB / 0.7498 GB, free: 5.449 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.9756, allocations: 15.81 kB / 0.7498 GB, free: 5.441 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.9756, allocations: 27.53 kB / 0.7498 GB, free: 5.422 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.976, allocations: 176.1 kB / 0.75 GB, free: 5.277 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.976, allocations: 7.984 kB / 0.75 GB, free: 5.27 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.976, allocations: 7.828 kB / 0.75 GB, free: 5.266 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.976, allocations: 4 kB / 0.75 GB, free: 5.262 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.9762, allocations: 110.4 kB / 0.7501 GB, free: 5.176 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.9767, allocations: 319.1 kB / 0.7504 GB, free: 4.855 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.9772, allocations: 267.4 kB / 0.7507 GB, free: 4.648 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.9773, allocations: 4 kB / 0.7507 GB, free: 4.645 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.9773, allocations: 38.31 kB / 0.7507 GB, free: 4.602 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.9773, allocations: 0 / 0.7507 GB, free: 4.602 MB / 0.5107 GB Notification: Performance of matching and sorting (n=30): time 0.001768/0.9791, allocations: 0.6615 MB / 0.7514 GB, free: 4 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.9791, allocations: 59.39 kB / 0.7514 GB, free: 3.93 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.9792, allocations: 96.92 kB / 0.7515 GB, free: 3.832 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.9793, allocations: 37.58 kB / 0.7515 GB, free: 3.793 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.9793, allocations: 88.66 kB / 0.7516 GB, free: 3.703 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.9794, allocations: 120.8 kB / 0.7517 GB, free: 3.602 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.9794, allocations: 7.75 kB / 0.7517 GB, free: 3.602 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.9796, allocations: 334.6 kB / 0.7521 GB, free: 3.273 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.9798, allocations: 123 kB / 0.7522 GB, free: 3.18 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.98, allocations: 228.3 kB / 0.7524 GB, free: 2.961 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.9803, allocations: 161.2 kB / 0.7526 GB, free: 2.848 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9803, allocations: 0 / 0.7526 GB, free: 2.848 MB / 0.5107 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001008/0.9813, allocations: 0.5287 MB / 0.7531 GB, free: 2.41 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.9813, allocations: 6.812 kB / 0.7531 GB, free: 2.406 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.9813, allocations: 6.938 kB / 0.7531 GB, free: 2.402 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007189/0.9821, allocations: 163.7 kB / 0.7532 GB, free: 2.254 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.9824, allocations: 75.91 kB / 0.7533 GB, free: 2.18 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.9848, allocations: 2.044 MB / 0.7553 GB, free: 216 kB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.985, allocations: 31.55 kB / 0.7553 GB, free: 188 kB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.985, allocations: 15.81 kB / 0.7554 GB, free: 176 kB / 0.5107 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.9852, allocations: 145.2 kB / 0.7555 GB, free: 32 kB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.9852, allocations: 15.92 kB / 0.7555 GB, free: 16 kB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.262e-05/0.9853, allocations: 32.66 kB / 0.7555 GB, free: 4 kB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.9853, allocations: 4.047 kB / 0.7555 GB, free: 15.99 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.9853, allocations: 4 kB / 0.7555 GB, free: 15.99 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.9853, allocations: 3.938 kB / 0.7556 GB, free: 15.99 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.9857, allocations: 307.5 kB / 0.7558 GB, free: 15.67 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.9857, allocations: 0 / 0.7558 GB, free: 15.67 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.9861, allocations: 75.67 kB / 0.7559 GB, free: 15.6 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006349/0.9867, allocations: 156.3 kB / 0.7561 GB, free: 15.46 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.9867, allocations: 11.86 kB / 0.7561 GB, free: 15.45 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.9891, allocations: 2.043 MB / 0.7581 GB, free: 13.48 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9891, allocations: 4.688 kB / 0.7581 GB, free: 13.48 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.9901, allocations: 0.5854 MB / 0.7586 GB, free: 12.98 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.9902, allocations: 92.89 kB / 0.7587 GB, free: 12.87 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.9902, allocations: 15.86 kB / 0.7588 GB, free: 12.86 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.9904, allocations: 11.86 kB / 0.7588 GB, free: 12.85 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.9904, allocations: 23.84 kB / 0.7588 GB, free: 12.83 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.9904, allocations: 15.88 kB / 0.7588 GB, free: 12.82 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.9905, allocations: 79.27 kB / 0.7589 GB, free: 12.74 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9905, allocations: 0 / 0.7589 GB, free: 12.74 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003217/0.9908, allocations: 72.3 kB / 0.7589 GB, free: 12.68 MB / 0.5263 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.991, allocations: 115 kB / 0.7591 GB, free: 12.56 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0009708/0.9919, allocations: 0.4911 MB / 0.7595 GB, free: 12.13 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.992, allocations: 0 / 0.7595 GB, free: 12.13 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0005798/0.9926, allocations: 333 kB / 0.7599 GB, free: 11.84 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.9927, allocations: 11.69 kB / 0.7599 GB, free: 11.83 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.9948, allocations: 1.781 MB / 0.7616 GB, free: 10.05 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.9951, allocations: 0.752 MB / 0.7623 GB, free: 9.277 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.9953, allocations: 69.88 kB / 0.7624 GB, free: 9.207 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.9953, allocations: 15.44 kB / 0.7624 GB, free: 9.191 MB / 0.5263 GB Notification: Performance of SimCode: time 3.91e-07/0.9953, allocations: 0 / 0.7624 GB, free: 9.191 MB / 0.5263 GB Notification: Performance of Templates: time 0.005793/1.001, allocations: 2.581 MB / 0.7649 GB, free: 6.66 MB / 0.5263 GB 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