Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320.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_320,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.xm.1..|der.xm.2..|der.xm.320..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.2.|v.320.|v.3.|v.4.|v.5.|xm.1.|xm.2.|xm.320.|xm.3.|xm.4.|xm.5.|xs.1.|xs.2.|xs.320.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320,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.xm.1..|der.xm.2..|der.xm.320..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.2.|v.320.|v.3.|v.4.|v.5.|xm.1.|xm.2.|xm.320.|xm.3.|xm.4.|xm.5.|xs.1.|xs.2.|xs.320.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 110.9 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.001214/0.001214, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.3/1.3, allocations: 222.9 MB / 242.4 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.9201/0.9201, allocations: 119.3 MB / 411.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.08 kB / 0.5716 GB, free: 39.72 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1342, allocations: 80.7 MB / 0.6505 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320): time 0.002141/0.1364, allocations: 1.222 MB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001851/0.1366, allocations: 47.86 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.1367, allocations: 4 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.978e-05/0.1367, allocations: 0 / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.196e-05/0.1368, allocations: 11.92 kB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.137, allocations: 19.97 kB / 0.6517 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.005144/0.1421, allocations: 6.633 MB / 0.6582 GB, free: 5.031 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1423, allocations: 32 kB / 0.6582 GB, free: 5 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/0.1462, allocations: 2.244 MB / 0.6604 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004582/0.1508, allocations: 2.089 MB / 0.6625 GB, free: 0.6523 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.1521, allocations: 360 kB / 0.6628 GB, free: 308 kB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008405/0.1529, allocations: 360 kB / 0.6632 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.1546, allocations: 1.986 MB / 0.6651 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.004409/0.159, allocations: 2.167 MB / 0.6672 GB, free: 11.79 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.00298/0.162, allocations: 3.527 MB / 0.6707 GB, free: 8.246 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.162, allocations: 0 / 0.6707 GB, free: 8.246 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.453e-06/0.162, allocations: 0 / 0.6707 GB, free: 8.246 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.328e-05/0.1621, allocations: 0 / 0.6707 GB, free: 8.246 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 960 * Number of variables: 960 Notification: Performance of Generate backend data structure: time 0.02008/0.1822, allocations: 7.772 MB / 0.6782 GB, free: 416 kB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1822, allocations: 15.97 kB / 0.6783 GB, free: 400 kB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000808/0.183, allocations: 385.4 kB / 0.6786 GB, free: 12 kB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/0.1867, allocations: 1.297 MB / 0.6799 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003355/0.187, allocations: 443.8 kB / 0.6803 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/0.1885, allocations: 0.8923 MB / 0.6812 GB, free: 13.34 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007773/0.1963, allocations: 4.787 MB / 0.6859 GB, free: 8.539 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002648/0.1966, allocations: 158.9 kB / 0.686 GB, free: 8.383 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004033/0.197, allocations: 151.9 kB / 0.6862 GB, free: 8.234 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.28e-05/0.1971, allocations: 92 kB / 0.6862 GB, free: 8.145 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005485/0.2026, allocations: 3.39 MB / 0.6896 GB, free: 4.75 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007191/0.2098, allocations: 5.323 MB / 0.6948 GB, free: 15.38 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.2215, allocations: 8.12 MB / 0.7027 GB, free: 6.996 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006081/0.2277, allocations: 3.708 MB / 0.7063 GB, free: 3.281 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009678/0.2287, allocations: 103.5 kB / 0.7064 GB, free: 3.18 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.055e-05/0.2288, allocations: 126.1 kB / 0.7065 GB, free: 3.047 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=960): time 1.165e-05/0.2288, allocations: 4 kB / 0.7065 GB, free: 3.043 MB / 0.5452 GB Notification: Performance of matching and sorting (n=960): time 0.03767/0.2665, allocations: 14.6 MB / 0.7208 GB, free: 4.414 MB / 0.5608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.268e-05/0.2666, allocations: 154.9 kB / 0.7209 GB, free: 4.25 MB / 0.5608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.2669, allocations: 305.5 kB / 0.7212 GB, free: 3.941 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.001108/0.268, allocations: 277.7 kB / 0.7215 GB, free: 3.664 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.2682, allocations: 220.2 kB / 0.7217 GB, free: 3.441 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.003683/0.2719, allocations: 3.846 MB / 0.7255 GB, free: 15.54 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004507/0.2765, allocations: 2.146 MB / 0.7276 GB, free: 13.37 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.2766, allocations: 306 kB / 0.7278 GB, free: 13.07 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007535/0.2841, allocations: 4.002 MB / 0.7318 GB, free: 9.055 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009431/0.2936, allocations: 6.625 MB / 0.7382 GB, free: 1.434 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02073/0.3143, allocations: 11.4 MB / 0.7494 GB, free: 5.023 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001288/0.3145, allocations: 20 kB / 0.7494 GB, free: 5.004 MB / 0.592 GB Notification: Performance of matching and sorting (n=1600) (initialization): time 0.03381/0.3483, allocations: 15.75 MB / 0.7648 GB, free: 5.215 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 7.144e-05/0.3484, allocations: 40.03 kB / 0.7648 GB, free: 5.176 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/0.3485, allocations: 72 kB / 0.7649 GB, free: 5.105 MB / 0.6077 GB Notification: Tearing is skipped for strong component 1 because system size of 320 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.3487, allocations: 120.9 kB / 0.765 GB, free: 4.988 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008013/0.3567, allocations: 2.532 MB / 0.7675 GB, free: 2.453 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000193/0.3569, allocations: 167.5 kB / 0.7676 GB, free: 2.289 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004541/0.3615, allocations: 0.8618 MB / 0.7685 GB, free: 1.418 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009323/0.3624, allocations: 452 kB / 0.7689 GB, free: 0.9766 MB / 0.6077 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 321 * 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 (1281): * Single equations (assignments): 1280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(320,0.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.5197/0.8821, allocations: 1.134 MB / 0.77 GB, free: 104 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008075/0.883, allocations: 298.7 kB / 0.7703 GB, free: 104 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.8848, allocations: 0.88 MB / 0.7711 GB, free: 103.9 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.469e-05/0.8849, allocations: 46.06 kB / 0.7712 GB, free: 103.9 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.8849, allocations: 0 / 0.7712 GB, free: 103.9 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/0.8853, allocations: 488.9 kB / 0.7716 GB, free: 103.7 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009982/0.8863, allocations: 402.5 kB / 0.772 GB, free: 103.7 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002476/0.8888, allocations: 153 kB / 0.7722 GB, free: 103.7 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001742/0.8905, allocations: 0.8445 MB / 0.773 GB, free: 103.7 MB / 0.6079 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04515/0.9357, allocations: 17.05 MB / 0.7897 GB, free: 101.8 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0172/0.953, allocations: 15.27 MB / 0.8046 GB, free: 93.29 MB / 0.6079 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005622/0.9586, allocations: 4.425 MB / 0.8089 GB, free: 88.84 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.9587, allocations: 79.27 kB / 0.809 GB, free: 88.77 MB / 0.6079 GB Notification: Performance of Backend: time 3.61e-07/0.9587, allocations: 0 / 0.809 GB, free: 88.77 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.01379/0.9725, allocations: 8.877 MB / 0.8176 GB, free: 80.09 MB / 0.6079 GB Notification: Performance of SimCode: time 0.03734/1.01, allocations: 44.89 MB / 0.8615 GB, free: 35.19 MB / 0.6079 GB Notification: Performance of Templates: time 0.1163/1.126, allocations: 80.8 MB / 0.9404 GB, free: 2.309 MB / 0.6548 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches