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.001277/0.001277, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001424/0.001424, allocations: 185.3 kB / 18.68 MB, free: 4.41 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.282/1.282, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8948/0.8948, allocations: 119.3 MB / 411.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 62.92 kB / 0.5716 GB, free: 39.9 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1451, allocations: 80.7 MB / 0.6504 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_3200): time 0.002041/0.1472, allocations: 1.203 MB / 0.6516 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001893/0.1474, allocations: 43.88 kB / 0.6517 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.1474, allocations: 0 / 0.6517 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.281e-05/0.1475, allocations: 3.938 kB / 0.6517 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.555e-05/0.1476, allocations: 3.984 kB / 0.6517 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.1477, allocations: 19.97 kB / 0.6517 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.03512/0.1829, allocations: 46.25 MB / 0.6969 GB, free: 13.52 MB / 0.5452 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007352/0.1837, allocations: 204 kB / 0.6971 GB, free: 13.32 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02527/0.2089, allocations: 15.53 MB / 0.7122 GB, free: 13.77 MB / 0.5608 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03297/0.2419, allocations: 19.05 MB / 0.7308 GB, free: 10.68 MB / 0.5764 GB Notification: Performance of NFPackage.collectConstants: time 0.01183/0.2538, allocations: 2.344 MB / 0.7331 GB, free: 8.34 MB / 0.5764 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01285/0.2667, allocations: 2.348 MB / 0.7354 GB, free: 5.992 MB / 0.5764 GB Notification: Performance of NFScalarize.scalarize: time 0.01894/0.2857, allocations: 13.58 MB / 0.7487 GB, free: 8.383 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.6143/0.9, allocations: 15.13 MB / 0.7634 GB, free: 34.84 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.04613/0.9462, allocations: 26.52 MB / 0.7893 GB, free: 29.77 MB / 0.5923 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.9462, allocations: 0 / 0.7893 GB, free: 29.77 MB / 0.5923 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9462, allocations: 3.75 kB / 0.7893 GB, free: 29.77 MB / 0.5923 GB Notification: Performance of Transformations before backend: time 0.001505/0.9477, allocations: 0 / 0.7893 GB, free: 29.77 MB / 0.5923 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.1381/1.086, allocations: 58.45 MB / 0.8464 GB, free: 0.8242 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.086, allocations: 11.89 kB / 0.8464 GB, free: 0.8125 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/1.098, allocations: 2.735 MB / 0.8491 GB, free: 14.05 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0333/1.132, allocations: 8.553 MB / 0.8575 GB, free: 5.461 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00398/1.136, allocations: 3.381 MB / 0.8608 GB, free: 2.078 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01698/1.153, allocations: 7.714 MB / 0.8683 GB, free: 10.34 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08358/1.236, allocations: 33.53 MB / 0.901 GB, free: 8.746 MB / 0.6548 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.006016/1.243, allocations: 1.523 MB / 0.9025 GB, free: 7.211 MB / 0.6548 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009114/1.252, allocations: 0.9804 MB / 0.9035 GB, free: 6.23 MB / 0.6548 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007448/1.252, allocations: 0.5859 MB / 0.9041 GB, free: 5.645 MB / 0.6548 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07125/1.324, allocations: 26.66 MB / 0.9301 GB, free: 10.95 MB / 0.686 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06229/1.386, allocations: 30.78 MB / 0.9601 GB, free: 12.1 MB / 0.7173 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1518/1.538, allocations: 32.97 MB / 0.9923 GB, free: 11.16 MB / 0.7485 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04843/1.586, allocations: 23.01 MB / 1.015 GB, free: 4.129 MB / 0.7642 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006283/1.593, allocations: 0.6348 MB / 1.015 GB, free: 3.492 MB / 0.7642 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005727/1.593, allocations: 0.6646 MB / 1.016 GB, free: 2.816 MB / 0.7642 GB Notification: Performance of pre-optimization done (n=6400): time 0.0001235/1.593, allocations: 0 / 1.016 GB, free: 2.816 MB / 0.7642 GB Notification: Performance of matching and sorting (n=6400): time 0.4508/2.044, allocations: 70.03 MB / 1.084 GB, free: 248.5 MB / 0.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000287/2.045, allocations: 0.6861 MB / 1.085 GB, free: 248.4 MB / 0.811 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/2.047, allocations: 2.147 MB / 1.087 GB, free: 247.4 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.006293/2.054, allocations: 1.984 MB / 1.089 GB, free: 245.8 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/2.055, allocations: 1.403 MB / 1.091 GB, free: 244.8 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.02083/2.075, allocations: 28.28 MB / 1.118 GB, free: 222.2 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03305/2.109, allocations: 17.64 MB / 1.135 GB, free: 214.7 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 4.506e-05/2.109, allocations: 306 kB / 1.136 GB, free: 214.4 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05408/2.163, allocations: 30.66 MB / 1.166 GB, free: 206.8 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07195/2.235, allocations: 55.1 MB / 1.219 GB, free: 150 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1143/2.349, allocations: 89.2 MB / 1.307 GB, free: 52.39 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008073/2.35, allocations: 203.9 kB / 1.307 GB, free: 52.19 MB / 0.811 GB Notification: Performance of matching and sorting (n=12800) (initialization): time 0.5297/2.88, allocations: 93.97 MB / 1.399 GB, free: 179.7 MB / 0.8267 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006341/2.88, allocations: 305.5 kB / 1.399 GB, free: 179.7 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001329/2.882, allocations: 0.6849 MB / 1.399 GB, free: 179.7 MB / 0.8267 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/2.884, allocations: 1.177 MB / 1.401 GB, free: 179.7 MB / 0.8267 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.09075/2.974, allocations: 26.91 MB / 1.427 GB, free: 179.7 MB / 0.8267 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/2.977, allocations: 1.607 MB / 1.428 GB, free: 179.4 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04336/3.021, allocations: 8.599 MB / 1.437 GB, free: 177.6 MB / 0.8267 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01297/3.034, allocations: 3.711 MB / 1.44 GB, free: 177.6 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.02148/3.055, allocations: 8.069 MB / 1.448 GB, free: 175.5 MB / 0.8267 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007591/3.063, allocations: 1.954 MB / 1.45 GB, free: 175.5 MB / 0.8267 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/3.074, allocations: 5.517 MB / 1.456 GB, free: 174.6 MB / 0.8267 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/3.075, allocations: 303.8 kB / 1.456 GB, free: 174.6 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001328/3.076, allocations: 3.938 kB / 1.456 GB, free: 174.6 MB / 0.8267 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002733/3.078, allocations: 2.713 MB / 1.459 GB, free: 173.6 MB / 0.8267 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009842/3.088, allocations: 3.416 MB / 1.462 GB, free: 172.9 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0232/3.111, allocations: 2.541 MB / 1.464 GB, free: 172.1 MB / 0.8267 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009432/3.121, allocations: 3.817 MB / 1.468 GB, free: 171.6 MB / 0.8267 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3477/3.469, allocations: 119.6 MB / 1.585 GB, free: 73.49 MB / 0.8267 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2143/3.683, allocations: 107.3 MB / 1.69 GB, free: 1.059 MB / 0.8579 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.4433/4.126, allocations: 31.88 MB / 1.721 GB, free: 213.1 MB / 0.8735 GB Notification: Performance of sorting global known variables: time 3.67e-05/4.126, allocations: 86.67 kB / 1.721 GB, free: 213 MB / 0.8735 GB Notification: Performance of Backend: time 3.9e-07/4.126, allocations: 0.7812 kB / 1.721 GB, free: 213 MB / 0.8735 GB Notification: Performance of simCode: created initialization part: time 0.09357/4.22, allocations: 54.32 MB / 1.774 GB, free: 204.9 MB / 0.8735 GB Notification: Performance of SimCode: time 0.6525/4.873, allocations: 406.1 MB / 2.171 GB, free: 145.6 MB / 0.8892 GB Notification: Performance of Templates: time 1.641/6.513, allocations: 0.574 GB / 2.745 GB, free: 230.4 MB / 0.936 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