Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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.0.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-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_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009994/0.0009995, allocations: 190.9 kB / 16.62 MB, free: 5.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3439/0.3439, allocations: 225.7 MB / 243 MB, free: 4.098 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.000892/0.0008918, allocations: 111.2 kB / 293.3 MB, free: 11.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.3668/0.3668, allocations: 119.5 MB / 462.9 MB, free: 10.6 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008656/0.0008656, allocations: 55.92 kB / 0.5413 GB, free: 10.64 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.102, allocations: 80.69 MB / 0.6202 GB, free: 9.801 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001665/0.1037, allocations: 1.293 MB / 0.6214 GB, free: 8.496 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001365/0.1038, allocations: 43.92 kB / 0.6215 GB, free: 8.453 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.1038, allocations: 0 / 0.6215 GB, free: 8.453 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.349e-05/0.1039, allocations: 3.938 kB / 0.6215 GB, free: 8.449 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 4.974e-05/0.104, allocations: 4 kB / 0.6215 GB, free: 8.445 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.1041, allocations: 27.97 kB / 0.6215 GB, free: 8.418 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.1044, allocations: 435.4 kB / 0.6219 GB, free: 7.992 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.1045, allocations: 7.984 kB / 0.6219 GB, free: 7.984 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1046, allocations: 159.8 kB / 0.6221 GB, free: 7.828 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.1047, allocations: 147.7 kB / 0.6222 GB, free: 7.684 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.1048, allocations: 24 kB / 0.6222 GB, free: 7.66 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.035e-05/0.1048, allocations: 20 kB / 0.6222 GB, free: 7.641 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.366e-05/0.1049, allocations: 131.6 kB / 0.6224 GB, free: 7.512 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.1051, allocations: 143.4 kB / 0.6225 GB, free: 7.371 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.1052, allocations: 231.5 kB / 0.6227 GB, free: 7.145 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1052, allocations: 0 / 0.6227 GB, free: 7.145 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1052, allocations: 4 kB / 0.6227 GB, free: 7.141 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1052, allocations: 0 / 0.6227 GB, free: 7.141 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001221/0.1065, allocations: 0.7646 MB / 0.6235 GB, free: 6.328 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.627e-05/0.1065, allocations: 12.03 kB / 0.6235 GB, free: 6.316 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.1065, allocations: 24.75 kB / 0.6235 GB, free: 6.293 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.1068, allocations: 240 kB / 0.6237 GB, free: 6.02 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1068, allocations: 28.94 kB / 0.6238 GB, free: 5.988 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/0.1069, allocations: 56.28 kB / 0.6238 GB, free: 5.934 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.1073, allocations: 337.4 kB / 0.6241 GB, free: 5.598 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1073, allocations: 7.906 kB / 0.6242 GB, free: 5.59 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.1073, allocations: 11.94 kB / 0.6242 GB, free: 5.578 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1073, allocations: 8 kB / 0.6242 GB, free: 5.57 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.1076, allocations: 214.1 kB / 0.6244 GB, free: 5.363 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.1081, allocations: 471.9 kB / 0.6248 GB, free: 4.852 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/0.1087, allocations: 0.4933 MB / 0.6253 GB, free: 4.355 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.109, allocations: 242.4 kB / 0.6255 GB, free: 4.117 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1091, allocations: 12.5 kB / 0.6256 GB, free: 4.105 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.1091, allocations: 39.12 kB / 0.6256 GB, free: 4.055 MB / 442.8 MB Notification: Performance of pre-optimization done (n=60): time 1.392e-06/0.1091, allocations: 0 / 0.6256 GB, free: 4.055 MB / 442.8 MB Notification: Performance of matching and sorting (n=60): time 0.003172/0.1123, allocations: 1.245 MB / 0.6268 GB, free: 2.781 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.1123, allocations: 63.91 kB / 0.6269 GB, free: 2.707 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.341e-05/0.1124, allocations: 113.8 kB / 0.627 GB, free: 2.586 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.1124, allocations: 41.7 kB / 0.627 GB, free: 2.539 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.1124, allocations: 89.45 kB / 0.6271 GB, free: 2.445 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.1126, allocations: 252.4 kB / 0.6273 GB, free: 2.195 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.1127, allocations: 142.7 kB / 0.6275 GB, free: 2.051 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.1128, allocations: 350.7 kB / 0.6278 GB, free: 1.699 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.1131, allocations: 253.8 kB / 0.6281 GB, free: 1.453 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.1135, allocations: 428.4 kB / 0.6285 GB, free: 0.9688 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007466/0.1143, allocations: 0.7191 MB / 0.6292 GB, free: 188 kB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1143, allocations: 0 / 0.6292 GB, free: 188 kB / 442.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001612/0.1159, allocations: 1.011 MB / 0.6302 GB, free: 15.16 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1159, allocations: 4 kB / 0.6302 GB, free: 15.16 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1159, allocations: 11.98 kB / 0.6302 GB, free: 15.15 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.117, allocations: 296.5 kB / 0.6305 GB, free: 14.86 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.1174, allocations: 163.8 kB / 0.6306 GB, free: 14.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/0.1207, allocations: 2.884 MB / 0.6334 GB, free: 11.68 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.1209, allocations: 59.36 kB / 0.6335 GB, free: 11.62 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.1209, allocations: 36 kB / 0.6335 GB, free: 11.59 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (81): * Single equations (assignments): 80 * 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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.1211, allocations: 177.6 kB / 0.6337 GB, free: 11.4 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.1211, allocations: 19.75 kB / 0.6337 GB, free: 11.38 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.596e-05/0.1212, allocations: 61.88 kB / 0.6338 GB, free: 11.32 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1212, allocations: 4 kB / 0.6338 GB, free: 11.32 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1212, allocations: 8 kB / 0.6338 GB, free: 11.31 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1212, allocations: 3.984 kB / 0.6338 GB, free: 11.31 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.1216, allocations: 461.5 kB / 0.6342 GB, free: 10.81 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1216, allocations: 4 kB / 0.6342 GB, free: 10.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006369/0.1223, allocations: 135.9 kB / 0.6343 GB, free: 10.67 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.1233, allocations: 284.5 kB / 0.6346 GB, free: 10.39 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.1234, allocations: 31.97 kB / 0.6347 GB, free: 10.36 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003175/0.1266, allocations: 2.865 MB / 0.6375 GB, free: 7.363 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1266, allocations: 0 / 0.6375 GB, free: 7.363 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.1283, allocations: 1.135 MB / 0.6386 GB, free: 6.207 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.1283, allocations: 104.7 kB / 0.6387 GB, free: 6.086 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.1284, allocations: 23.98 kB / 0.6387 GB, free: 6.062 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1286, allocations: 15.98 kB / 0.6387 GB, free: 6.047 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.1286, allocations: 48.44 kB / 0.6387 GB, free: 6 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.1287, allocations: 16 kB / 0.6388 GB, free: 5.984 MB / 458.8 MB Notification: Performance of sorting global known variables: time 2.382e-05/0.1287, allocations: 83.27 kB / 0.6388 GB, free: 5.902 MB / 458.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1287, allocations: 0 / 0.6388 GB, free: 5.902 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0003225/0.129, allocations: 144 kB / 0.639 GB, free: 5.762 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20]) * 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 (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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000107/0.1292, allocations: 131.2 kB / 0.6391 GB, free: 5.621 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.1305, allocations: 0.891 MB / 0.64 GB, free: 4.715 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1305, allocations: 0 / 0.64 GB, free: 4.715 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009042/0.1314, allocations: 0.56 MB / 0.6405 GB, free: 4.145 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.1316, allocations: 16 kB / 0.6405 GB, free: 4.129 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.1345, allocations: 2.976 MB / 0.6434 GB, free: 1.121 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1348, allocations: 0.8061 MB / 0.6442 GB, free: 296 kB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.135, allocations: 147.1 kB / 0.6444 GB, free: 152 kB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.1351, allocations: 23.44 kB / 0.6444 GB, free: 128 kB / 458.8 MB Notification: Performance of SimCode: time 2.3e-07/0.1351, allocations: 0 / 0.6444 GB, free: 128 kB / 458.8 MB Notification: Performance of Templates: time 0.3202/0.4553, allocations: 5.399 MB / 0.6497 GB, free: 30.71 MB / 458.9 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches