Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600.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.HarmonicOscillator_N_1600,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.160..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.x.160..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|v.160.|v.1.|v.2.|v.3.|v.4.|v.5.|x.160.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.160..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.x.160..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|v.160.|v.1.|v.2.|v.3.|v.4.|v.5.|x.160.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 110.5 kB / 17.75 MB, free: 5.309 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.001381/0.001381, allocations: 179 kB / 18.67 MB, free: 4.395 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.28/1.28, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8981/0.8981, allocations: 119.3 MB / 411.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 62.03 kB / 0.5716 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1471, allocations: 80.69 MB / 0.6504 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600): time 0.002404/0.1496, allocations: 1.219 MB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001978/0.1498, allocations: 39.86 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.1498, allocations: 0 / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.965e-05/0.1499, allocations: 3.938 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.802e-05/0.15, allocations: 7.938 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.1502, allocations: 23.97 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.01809/0.1683, allocations: 23.13 MB / 0.6743 GB, free: 4.539 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.1688, allocations: 100 kB / 0.6744 GB, free: 4.441 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01293/0.1818, allocations: 7.767 MB / 0.682 GB, free: 12.67 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.017/0.1988, allocations: 9.527 MB / 0.6913 GB, free: 3.113 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.00592/0.2047, allocations: 1.172 MB / 0.6924 GB, free: 1.941 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006492/0.2113, allocations: 1.172 MB / 0.6936 GB, free: 0.7695 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.009392/0.2207, allocations: 6.786 MB / 0.7002 GB, free: 9.969 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.01901/0.2397, allocations: 7.574 MB / 0.7076 GB, free: 2.367 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01916/0.2589, allocations: 13.26 MB / 0.7205 GB, free: 5.066 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.259, allocations: 4 kB / 0.7205 GB, free: 5.062 MB / 0.5608 GB Notification: Performance of FrontEnd: time 2.504e-06/0.259, allocations: 4 kB / 0.7205 GB, free: 5.059 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0004463/0.2594, allocations: 0 / 0.7205 GB, free: 5.059 MB / 0.5608 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3200 * Number of variables: 3200 Notification: Performance of Generate backend data structure: time 0.07611/0.3356, allocations: 29.36 MB / 0.7492 GB, free: 7.59 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.3356, allocations: 11.89 kB / 0.7492 GB, free: 7.578 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005059/0.3407, allocations: 1.368 MB / 0.7506 GB, free: 6.199 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/0.352, allocations: 4.364 MB / 0.7548 GB, free: 1.781 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002075/0.3541, allocations: 1.689 MB / 0.7565 GB, free: 92 kB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007856/0.362, allocations: 3.863 MB / 0.7603 GB, free: 12.21 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5977/0.9597, allocations: 16.77 MB / 0.7766 GB, free: 85.11 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001938/0.9616, allocations: 0.7628 MB / 0.7774 GB, free: 84.86 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002375/0.964, allocations: 0.4884 MB / 0.7779 GB, free: 84.62 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003138/0.9644, allocations: 300.2 kB / 0.7781 GB, free: 84.62 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02979/0.9941, allocations: 13.33 MB / 0.7912 GB, free: 81.97 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02355/1.018, allocations: 15.42 MB / 0.8062 GB, free: 74.97 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04473/1.063, allocations: 16.51 MB / 0.8223 GB, free: 68.08 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02019/1.083, allocations: 11.5 MB / 0.8336 GB, free: 58.58 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003135/1.086, allocations: 329 kB / 0.8339 GB, free: 58.26 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/1.086, allocations: 359.6 kB / 0.8342 GB, free: 57.89 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=3200): time 3.656e-05/1.086, allocations: 0 / 0.8342 GB, free: 57.89 MB / 0.6079 GB Notification: Performance of matching and sorting (n=3200): time 0.07922/1.165, allocations: 35.02 MB / 0.8684 GB, free: 22.85 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/1.166, allocations: 376.4 kB / 0.8688 GB, free: 22.46 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009962/1.167, allocations: 1.071 MB / 0.8698 GB, free: 21.38 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.003183/1.17, allocations: 1.005 MB / 0.8708 GB, free: 20.38 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005755/1.17, allocations: 0.7453 MB / 0.8715 GB, free: 19.62 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.008837/1.179, allocations: 14.09 MB / 0.8853 GB, free: 5.328 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01451/1.194, allocations: 8.819 MB / 0.8939 GB, free: 12.5 MB / 0.6235 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.194, allocations: 306 kB / 0.8942 GB, free: 12.19 MB / 0.6235 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03276/1.227, allocations: 15.33 MB / 0.9092 GB, free: 12.84 MB / 0.6392 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0472/1.274, allocations: 27.55 MB / 0.9361 GB, free: 12.75 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07153/1.346, allocations: 44.6 MB / 0.9796 GB, free: 11.91 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006232/1.346, allocations: 100 kB / 0.9797 GB, free: 11.82 MB / 0.7173 GB Notification: Performance of matching and sorting (n=6400) (initialization): time 0.09902/1.445, allocations: 47.01 MB / 1.026 GB, free: 12.98 MB / 0.7642 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004006/1.446, allocations: 156 kB / 1.026 GB, free: 12.82 MB / 0.7642 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007116/1.446, allocations: 352 kB / 1.026 GB, free: 12.48 MB / 0.7642 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008845/1.447, allocations: 0.587 MB / 1.027 GB, free: 11.89 MB / 0.7642 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04982/1.497, allocations: 13.45 MB / 1.04 GB, free: 14.62 MB / 0.7798 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/1.499, allocations: 0.8021 MB / 1.041 GB, free: 13.82 MB / 0.7798 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02174/1.52, allocations: 4.302 MB / 1.045 GB, free: 9.672 MB / 0.7798 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007343/1.528, allocations: 1.859 MB / 1.047 GB, free: 7.812 MB / 0.7798 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1601 * 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 (6400): * Single equations (assignments): 6400 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01463/1.542, allocations: 4.083 MB / 1.051 GB, free: 3.703 MB / 0.7798 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004619/1.547, allocations: 0.9843 MB / 1.052 GB, free: 2.707 MB / 0.7798 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007432/1.555, allocations: 2.758 MB / 1.054 GB, free: 15.94 MB / 0.7954 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005447/1.555, allocations: 151.4 kB / 1.054 GB, free: 15.79 MB / 0.7954 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.062e-05/1.555, allocations: 0 / 1.054 GB, free: 15.79 MB / 0.7954 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/1.557, allocations: 1.393 MB / 1.056 GB, free: 14.36 MB / 0.7954 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005467/1.563, allocations: 1.713 MB / 1.057 GB, free: 12.65 MB / 0.7954 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01307/1.576, allocations: 1.265 MB / 1.059 GB, free: 11.57 MB / 0.7954 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005212/1.581, allocations: 1.913 MB / 1.061 GB, free: 9.656 MB / 0.7954 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.4559/2.037, allocations: 59.79 MB / 1.119 GB, free: 233.3 MB / 0.7954 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.08977/2.127, allocations: 53.7 MB / 1.171 GB, free: 191.4 MB / 0.7954 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02157/2.148, allocations: 15.95 MB / 1.187 GB, free: 175.4 MB / 0.7954 GB Notification: Performance of sorting global known variables: time 2.865e-05/2.148, allocations: 79.09 kB / 1.187 GB, free: 175.4 MB / 0.7954 GB Notification: Performance of Backend: time 1.303e-06/2.148, allocations: 1.875 kB / 1.187 GB, free: 175.4 MB / 0.7954 GB Notification: Performance of simCode: created initialization part: time 0.04061/2.189, allocations: 27.2 MB / 1.214 GB, free: 148.4 MB / 0.7954 GB Notification: Performance of SimCode: time 0.4696/2.659, allocations: 202.2 MB / 1.411 GB, free: 187.9 MB / 0.811 GB Notification: Performance of Templates: time 1.214/3.873, allocations: 293.5 MB / 1.698 GB, free: 230.8 MB / 0.8423 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_1600.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches