Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200.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_3200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.320..|der.v.3..|der.v.4..|der.v.5..|der.x.1..|der.x.2..|der.x.320..|der.x.3..|der.x.4..|der.x.5..|time|time|v.1.|v.2.|v.320.|v.3.|v.4.|v.5.|x.1.|x.2.|x.320.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.320..|der.v.3..|der.v.4..|der.v.5..|der.x.1..|der.x.2..|der.x.320..|der.x.3..|der.x.4..|der.x.5..|time|time|v.1.|v.2.|v.320.|v.3.|v.4.|v.5.|x.1.|x.2.|x.320.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 109.3 kB / 17.74 MB, free: 5.348 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.001646/0.001646, allocations: 184.2 kB / 18.68 MB, free: 4.426 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.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.024/1.024, allocations: 119.3 MB / 411.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 66.16 kB / 0.5716 GB, free: 39.72 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1493, allocations: 80.69 MB / 0.6504 GB, free: 13.01 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200): time 0.002319/0.1517, allocations: 1.219 MB / 0.6516 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001984/0.1519, allocations: 35.88 kB / 0.6517 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.152, allocations: 0 / 0.6517 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.07e-05/0.1521, allocations: 7.984 kB / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-05/0.1521, allocations: 11.88 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.1523, allocations: 15.97 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.03647/0.1888, allocations: 46.25 MB / 0.6969 GB, free: 13.41 MB / 0.5452 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008016/0.1897, allocations: 212 kB / 0.6971 GB, free: 13.2 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02805/0.2177, allocations: 15.53 MB / 0.7122 GB, free: 13.66 MB / 0.5608 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03923/0.257, allocations: 19.05 MB / 0.7308 GB, free: 10.57 MB / 0.5764 GB Notification: Performance of NFPackage.collectConstants: time 0.01449/0.2716, allocations: 2.348 MB / 0.7331 GB, free: 8.227 MB / 0.5764 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01436/0.2859, allocations: 2.344 MB / 0.7354 GB, free: 5.883 MB / 0.5764 GB Notification: Performance of NFScalarize.scalarize: time 0.02078/0.3068, allocations: 13.57 MB / 0.7487 GB, free: 8.285 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.03748/0.3443, allocations: 15.14 MB / 0.7634 GB, free: 9.094 MB / 0.6077 GB Notification: Performance of NFConvertDAE.convert: time 0.5944/0.9387, allocations: 26.52 MB / 0.7893 GB, free: 61.97 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 7.954e-06/0.9387, allocations: 0 / 0.7893 GB, free: 61.97 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.345e-06/0.9388, allocations: 0 / 0.7893 GB, free: 61.97 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.002072/0.9408, allocations: 0 / 0.7893 GB, free: 61.97 MB / 0.6079 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6400 * Number of variables: 6400 Notification: Performance of Generate backend data structure: time 0.1821/1.123, allocations: 58.46 MB / 0.8464 GB, free: 42.52 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.123, allocations: 14.33 kB / 0.8464 GB, free: 42.52 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/1.138, allocations: 2.738 MB / 0.8491 GB, free: 41.52 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03032/1.168, allocations: 8.556 MB / 0.8575 GB, free: 33.77 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003543/1.172, allocations: 3.37 MB / 0.8608 GB, free: 30.4 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02097/1.193, allocations: 7.718 MB / 0.8683 GB, free: 22.66 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09634/1.289, allocations: 33.53 MB / 0.901 GB, free: 5.062 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.007314/1.296, allocations: 1.511 MB / 0.9025 GB, free: 3.539 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01254/1.309, allocations: 0.9843 MB / 0.9035 GB, free: 2.555 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005537/1.31, allocations: 0.5859 MB / 0.904 GB, free: 1.969 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0755/1.385, allocations: 26.66 MB / 0.9301 GB, free: 7.277 MB / 0.6548 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07367/1.459, allocations: 30.78 MB / 0.9601 GB, free: 8.426 MB / 0.686 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1657/1.625, allocations: 32.98 MB / 0.9923 GB, free: 7.484 MB / 0.7173 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05867/1.683, allocations: 23 MB / 1.015 GB, free: 468 kB / 0.7329 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006719/1.69, allocations: 0.6387 MB / 1.015 GB, free: 15.81 MB / 0.7485 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005816/1.691, allocations: 0.6646 MB / 1.016 GB, free: 15.14 MB / 0.7485 GB Notification: Performance of pre-optimization done (n=6400): time 0.0001251/1.691, allocations: 0 / 1.016 GB, free: 15.14 MB / 0.7485 GB Notification: Performance of matching and sorting (n=6400): time 0.5284/2.219, allocations: 70.02 MB / 1.084 GB, free: 238.3 MB / 0.7954 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003099/2.22, allocations: 0.69 MB / 1.085 GB, free: 238.2 MB / 0.7954 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003161/2.223, allocations: 2.151 MB / 1.087 GB, free: 238 MB / 0.7954 GB Notification: Performance of collectPreVariables (initialization): time 0.01145/2.234, allocations: 1.984 MB / 1.089 GB, free: 237.6 MB / 0.7954 GB Notification: Performance of collectInitialEqns (initialization): time 0.001542/2.236, allocations: 1.396 MB / 1.091 GB, free: 236.6 MB / 0.7954 GB Notification: Performance of collectInitialBindings (initialization): time 0.02513/2.261, allocations: 28.28 MB / 1.118 GB, free: 213.9 MB / 0.7954 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.04595/2.307, allocations: 17.64 MB / 1.135 GB, free: 206.4 MB / 0.7954 GB Notification: Performance of setup shared object (initialization): time 7.752e-05/2.307, allocations: 310 kB / 1.136 GB, free: 206.1 MB / 0.7954 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06596/2.373, allocations: 30.66 MB / 1.166 GB, free: 198.5 MB / 0.7954 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0834/2.456, allocations: 55.1 MB / 1.219 GB, free: 144 MB / 0.7954 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1365/2.593, allocations: 89.21 MB / 1.307 GB, free: 46.42 MB / 0.7954 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0009745/2.594, allocations: 201.2 kB / 1.307 GB, free: 46.22 MB / 0.7954 GB Notification: Performance of matching and sorting (n=12800) (initialization): time 0.6264/3.22, allocations: 93.97 MB / 1.399 GB, free: 196.7 MB / 0.8267 GB Notification: Performance of prepare postOptimizeDAE: time 0.001958/3.222, allocations: 306.9 kB / 1.399 GB, free: 196.7 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002855/3.225, allocations: 0.6844 MB / 1.399 GB, free: 196.7 MB / 0.8267 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002392/3.228, allocations: 1.176 MB / 1.401 GB, free: 196.7 MB / 0.8267 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1033/3.331, allocations: 26.91 MB / 1.427 GB, free: 196.7 MB / 0.8267 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/3.333, allocations: 1.609 MB / 1.428 GB, free: 196.6 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05551/3.389, allocations: 8.588 MB / 1.437 GB, free: 194.8 MB / 0.8267 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01843/3.407, allocations: 3.712 MB / 1.44 GB, free: 194.8 MB / 0.8267 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3201 * 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 (12800): * Single equations (assignments): 12800 * 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.03725/3.445, allocations: 8.072 MB / 1.448 GB, free: 192.7 MB / 0.8267 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01183/3.457, allocations: 1.955 MB / 1.45 GB, free: 192.7 MB / 0.8267 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01914/3.476, allocations: 5.517 MB / 1.456 GB, free: 192.5 MB / 0.8267 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/3.477, allocations: 306 kB / 1.456 GB, free: 192.5 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001435/3.477, allocations: 8.25 kB / 1.456 GB, free: 192.5 MB / 0.8267 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003448/3.48, allocations: 2.712 MB / 1.459 GB, free: 191.5 MB / 0.8267 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01401/3.495, allocations: 3.417 MB / 1.462 GB, free: 191.5 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03494/3.529, allocations: 2.541 MB / 1.464 GB, free: 191.2 MB / 0.8267 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01642/3.546, allocations: 3.818 MB / 1.468 GB, free: 190.3 MB / 0.8267 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.404/3.95, allocations: 119.6 MB / 1.585 GB, free: 82.87 MB / 0.8267 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2378/4.188, allocations: 107.4 MB / 1.69 GB, free: 10.42 MB / 0.8579 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.4498/4.638, allocations: 31.89 MB / 1.721 GB, free: 213.5 MB / 0.8735 GB Notification: Performance of sorting global known variables: time 4.338e-05/4.638, allocations: 80.56 kB / 1.721 GB, free: 213.4 MB / 0.8735 GB Notification: Performance of Backend: time 3.91e-07/4.638, allocations: 0 / 1.721 GB, free: 213.4 MB / 0.8735 GB Notification: Performance of simCode: created initialization part: time 0.1202/4.758, allocations: 54.32 MB / 1.774 GB, free: 206.3 MB / 0.8735 GB Notification: Performance of SimCode: time 0.7584/5.516, allocations: 406.1 MB / 2.171 GB, free: 172.5 MB / 0.9048 GB Notification: Performance of Templates: time 1.595/7.112, allocations: 0.574 GB / 2.745 GB, free: 246.2 MB / 0.9517 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches