Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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_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_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 103.2 kB / 17.59 MB, free: 5.43 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.001155/0.001155, allocations: 187.3 kB / 18.51 MB, free: 4.508 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.304/1.304, allocations: 222.9 MB / 242.2 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9126/0.9126, allocations: 119.3 MB / 411.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 64.03 kB / 0.4916 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.465/0.4662, allocations: 80.69 MB / 0.5704 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001977/0.4682, allocations: 1.222 MB / 0.5716 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001893/0.4684, allocations: 34.94 kB / 0.5716 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.4685, allocations: 5.312 kB / 0.5716 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.031e-05/0.4686, allocations: 0 / 0.5716 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.417e-05/0.4686, allocations: 22.59 kB / 0.5716 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.4688, allocations: 16.09 kB / 0.5717 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.4692, allocations: 442.9 kB / 0.5721 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.4692, allocations: 2.562 kB / 0.5721 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.4694, allocations: 156.3 kB / 0.5722 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.4696, allocations: 143.1 kB / 0.5724 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.274e-05/0.4696, allocations: 22.06 kB / 0.5724 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.4697, allocations: 23.88 kB / 0.5724 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.4698, allocations: 127.7 kB / 0.5725 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.47, allocations: 142.1 kB / 0.5727 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.4701, allocations: 232.2 kB / 0.5729 GB, free: 41.65 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4701, allocations: 4.969 kB / 0.5729 GB, free: 41.64 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4702, allocations: 0 / 0.5729 GB, free: 41.64 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.4702, allocations: 0 / 0.5729 GB, free: 41.64 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001481/0.4717, allocations: 0.759 MB / 0.5736 GB, free: 41.07 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4717, allocations: 13.02 kB / 0.5737 GB, free: 41.07 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.4718, allocations: 24.25 kB / 0.5737 GB, free: 41.06 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.472, allocations: 251.1 kB / 0.5739 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.472, allocations: 30.66 kB / 0.5739 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/0.4721, allocations: 52.03 kB / 0.574 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.4726, allocations: 327.7 kB / 0.5743 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.4726, allocations: 17.67 kB / 0.5743 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.4727, allocations: 13.44 kB / 0.5743 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.4727, allocations: 9.469 kB / 0.5743 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.473, allocations: 217.5 kB / 0.5746 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.4735, allocations: 477.6 kB / 0.575 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/0.4743, allocations: 493.2 kB / 0.5755 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.4746, allocations: 241.7 kB / 0.5757 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.4746, allocations: 10.97 kB / 0.5757 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.4746, allocations: 41.75 kB / 0.5758 GB, free: 39.71 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.613e-06/0.4746, allocations: 0 / 0.5758 GB, free: 39.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003567/0.4782, allocations: 1.251 MB / 0.577 GB, free: 39.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.4782, allocations: 58.84 kB / 0.577 GB, free: 38.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/0.4783, allocations: 112.5 kB / 0.5771 GB, free: 38.87 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.4784, allocations: 41.73 kB / 0.5772 GB, free: 38.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.4784, allocations: 88.11 kB / 0.5773 GB, free: 38.73 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.4785, allocations: 245.1 kB / 0.5775 GB, free: 38.52 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.4787, allocations: 149.9 kB / 0.5776 GB, free: 38.43 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.4788, allocations: 356.9 kB / 0.578 GB, free: 38.09 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.4792, allocations: 252.4 kB / 0.5782 GB, free: 37.98 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.4798, allocations: 430.2 kB / 0.5786 GB, free: 37.67 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009088/0.4807, allocations: 0.711 MB / 0.5793 GB, free: 37.22 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4807, allocations: 5.781 kB / 0.5793 GB, free: 37.22 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001844/0.4826, allocations: 1.017 MB / 0.5803 GB, free: 36.72 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4826, allocations: 6.312 kB / 0.5803 GB, free: 36.72 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4826, allocations: 5.062 kB / 0.5803 GB, free: 36.72 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.4838, allocations: 302.1 kB / 0.5806 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.4843, allocations: 168.8 kB / 0.5808 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/0.4881, allocations: 3.104 MB / 0.5838 GB, free: 34.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.4884, allocations: 52.81 kB / 0.5839 GB, free: 34.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.4885, allocations: 30.22 kB / 0.5839 GB, free: 34.24 MB / 462.3 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.0001822/0.4887, allocations: 187.3 kB / 0.5841 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.4887, allocations: 22.05 kB / 0.5841 GB, free: 34.06 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.4889, allocations: 59.03 kB / 0.5842 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.4889, allocations: 5.812 kB / 0.5842 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/0.4889, allocations: 4.562 kB / 0.5842 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4889, allocations: 3.984 kB / 0.5842 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.4894, allocations: 459.1 kB / 0.5846 GB, free: 33.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4894, allocations: 4 kB / 0.5846 GB, free: 33.65 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/0.4901, allocations: 139.4 kB / 0.5847 GB, free: 33.62 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.4912, allocations: 286.5 kB / 0.585 GB, free: 33.49 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/0.4913, allocations: 26.19 kB / 0.585 GB, free: 33.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/0.4947, allocations: 3.109 MB / 0.5881 GB, free: 30.84 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4947, allocations: 0 / 0.5881 GB, free: 30.84 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.4964, allocations: 1.135 MB / 0.5892 GB, free: 29.68 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.4965, allocations: 104.8 kB / 0.5893 GB, free: 29.56 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.4965, allocations: 27.92 kB / 0.5893 GB, free: 29.53 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.4967, allocations: 12 kB / 0.5893 GB, free: 29.52 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/0.4968, allocations: 52.48 kB / 0.5894 GB, free: 29.47 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.4969, allocations: 16 kB / 0.5894 GB, free: 29.45 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.448e-05/0.4969, allocations: 75.28 kB / 0.5895 GB, free: 29.38 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4969, allocations: 0 / 0.5895 GB, free: 29.38 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004824/0.4974, allocations: 144 kB / 0.5896 GB, free: 29.24 MB / 462.3 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.0001266/0.4975, allocations: 139.1 kB / 0.5897 GB, free: 29.09 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.4991, allocations: 1.052 MB / 0.5908 GB, free: 28.03 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4992, allocations: 0 / 0.5908 GB, free: 28.03 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000906/0.5001, allocations: 0.5667 MB / 0.5913 GB, free: 27.45 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.5003, allocations: 27.94 kB / 0.5913 GB, free: 27.42 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.5032, allocations: 2.932 MB / 0.5942 GB, free: 24.45 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.5034, allocations: 0.8089 MB / 0.595 GB, free: 23.61 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.5035, allocations: 31.38 kB / 0.595 GB, free: 23.58 MB / 462.3 MB Notification: Performance of SimCode: time 3.8e-07/0.5035, allocations: 0 / 0.595 GB, free: 23.58 MB / 462.3 MB Notification: Performance of Templates: time 0.005249/0.5088, allocations: 4.567 MB / 0.5995 GB, free: 19.03 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches