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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0008856/0.0008856, allocations: 172.2 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.4 MB / 223.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007719/0.0007721, allocations: 90.25 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7463/0.7463, allocations: 120.4 MB / 440.6 MB, free: 4.086 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 16 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1238, allocations: 80 MB / 0.5969 GB, free: 9.129 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5738/0.6977, allocations: 124.5 MB / 0.7185 GB, free: 19.03 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/0.6979, allocations: 68.95 kB / 0.7186 GB, free: 19.02 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.006023/0.7039, allocations: 2.415 MB / 0.7209 GB, free: 18.35 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7039, allocations: 3.781 kB / 0.7209 GB, free: 18.35 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.704, allocations: 0 / 0.7209 GB, free: 18.35 MB / 0.4953 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.0005639/0.7045, allocations: 489.2 kB / 0.7214 GB, free: 17.92 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.7046, allocations: 11.69 kB / 0.7214 GB, free: 17.92 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.7046, allocations: 16.44 kB / 0.7214 GB, free: 17.91 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.7048, allocations: 207.6 kB / 0.7216 GB, free: 17.7 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.7048, allocations: 17.12 kB / 0.7216 GB, free: 17.69 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.7049, allocations: 27.53 kB / 0.7216 GB, free: 17.69 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.7051, allocations: 177 kB / 0.7218 GB, free: 17.56 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.7052, allocations: 7.812 kB / 0.7218 GB, free: 17.56 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.7052, allocations: 7.562 kB / 0.7218 GB, free: 17.55 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7052, allocations: 4 kB / 0.7218 GB, free: 17.55 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.7053, allocations: 108.2 kB / 0.7219 GB, free: 17.46 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.7056, allocations: 319.2 kB / 0.7222 GB, free: 17.14 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.7061, allocations: 268.2 kB / 0.7225 GB, free: 16.94 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.7062, allocations: 119 kB / 0.7226 GB, free: 16.85 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.7063, allocations: 4 kB / 0.7226 GB, free: 16.85 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.7063, allocations: 35.12 kB / 0.7226 GB, free: 16.8 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=30): time 1.372e-06/0.7063, allocations: 0 / 0.7226 GB, free: 16.8 MB / 0.4953 GB Notification: Performance of matching and sorting (n=30): time 0.001477/0.7078, allocations: 0.6644 MB / 0.7233 GB, free: 16.2 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.7078, allocations: 55.41 kB / 0.7234 GB, free: 16.13 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.205e-05/0.7079, allocations: 105.8 kB / 0.7235 GB, free: 16.02 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.7079, allocations: 37.39 kB / 0.7235 GB, free: 15.99 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 2.018e-05/0.7079, allocations: 88.66 kB / 0.7236 GB, free: 15.9 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.708, allocations: 121.4 kB / 0.7237 GB, free: 15.8 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.708, allocations: 3.938 kB / 0.7237 GB, free: 15.8 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 5.45e-05/0.7081, allocations: 330.5 kB / 0.724 GB, free: 15.47 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.7082, allocations: 135.2 kB / 0.7241 GB, free: 15.37 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.7085, allocations: 212 kB / 0.7243 GB, free: 15.17 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.7088, allocations: 366.5 kB / 0.7247 GB, free: 14.87 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7088, allocations: 0 / 0.7247 GB, free: 14.87 MB / 0.4953 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008393/0.7097, allocations: 0.5326 MB / 0.7252 GB, free: 14.43 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7097, allocations: 8 kB / 0.7252 GB, free: 14.42 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.7097, allocations: 4 kB / 0.7252 GB, free: 14.41 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.7103, allocations: 160.1 kB / 0.7254 GB, free: 14.27 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.7106, allocations: 83.72 kB / 0.7255 GB, free: 14.19 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.7124, allocations: 2.016 MB / 0.7274 GB, free: 12.23 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.7126, allocations: 35.23 kB / 0.7275 GB, free: 12.21 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.7126, allocations: 12 kB / 0.7275 GB, free: 12.2 MB / 0.4953 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 9.251e-05/0.7127, allocations: 137.3 kB / 0.7276 GB, free: 12.06 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.7127, allocations: 11.91 kB / 0.7276 GB, free: 12.05 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.197e-05/0.7128, allocations: 35.78 kB / 0.7276 GB, free: 12.04 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.7128, allocations: 4 kB / 0.7276 GB, free: 12.04 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.7128, allocations: 0 / 0.7276 GB, free: 12.04 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.7128, allocations: 14.61 kB / 0.7277 GB, free: 12.02 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.713, allocations: 304.2 kB / 0.7279 GB, free: 11.71 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7131, allocations: 3.938 kB / 0.728 GB, free: 11.71 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.7134, allocations: 63.78 kB / 0.728 GB, free: 11.65 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005331/0.7139, allocations: 152.2 kB / 0.7282 GB, free: 11.51 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.714, allocations: 15.55 kB / 0.7282 GB, free: 11.5 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.7158, allocations: 2.009 MB / 0.7301 GB, free: 9.547 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.7158, allocations: 0 / 0.7301 GB, free: 9.547 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009503/0.7168, allocations: 0.5815 MB / 0.7307 GB, free: 9.055 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.7168, allocations: 88.95 kB / 0.7308 GB, free: 8.949 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.7169, allocations: 15.86 kB / 0.7308 GB, free: 8.938 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.717, allocations: 8.438 kB / 0.7308 GB, free: 8.934 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.717, allocations: 27.91 kB / 0.7308 GB, free: 8.91 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.7171, allocations: 11.67 kB / 0.7308 GB, free: 8.902 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 2.701e-05/0.7171, allocations: 83.22 kB / 0.7309 GB, free: 8.82 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1e-07/0.7171, allocations: 3.938 kB / 0.7309 GB, free: 8.816 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0002762/0.7174, allocations: 75.19 kB / 0.731 GB, free: 8.754 MB / 0.4953 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.0001146/0.7175, allocations: 115 kB / 0.7311 GB, free: 8.637 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0007897/0.7183, allocations: 0.4884 MB / 0.7316 GB, free: 8.207 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7183, allocations: 0 / 0.7316 GB, free: 8.207 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.0004636/0.7188, allocations: 340.6 kB / 0.7319 GB, free: 7.902 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.719, allocations: 12.62 kB / 0.7319 GB, free: 7.898 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.7207, allocations: 1.778 MB / 0.7337 GB, free: 6.129 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.7209, allocations: 0.7558 MB / 0.7344 GB, free: 5.352 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.7211, allocations: 61.88 kB / 0.7345 GB, free: 5.289 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.7211, allocations: 19.44 kB / 0.7345 GB, free: 5.27 MB / 0.4953 GB Notification: Performance of SimCode: time 2.71e-07/0.7211, allocations: 3.938 kB / 0.7345 GB, free: 5.266 MB / 0.4953 GB Notification: Performance of Templates: time 0.004646/0.7258, allocations: 2.584 MB / 0.737 GB, free: 2.688 MB / 0.4953 GB 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