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.001136/0.001136, 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.00114/0.00114, allocations: 183 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.332/1.332, 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.871/0.871, allocations: 119.3 MB / 411.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 66.45 kB / 0.5716 GB, free: 39.68 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1174, allocations: 80.7 MB / 0.6504 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_320): time 0.002146/0.1196, allocations: 1.223 MB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001796/0.1198, allocations: 43.88 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.1198, allocations: 0 / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.729e-05/0.1199, allocations: 7.984 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.713e-05/0.12, allocations: 11.92 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.1202, allocations: 19.95 kB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.005078/0.1252, allocations: 6.633 MB / 0.6582 GB, free: 5.047 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1254, allocations: 35.98 kB / 0.6582 GB, free: 5.012 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/0.1286, allocations: 2.236 MB / 0.6604 GB, free: 2.773 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003912/0.1325, allocations: 2.089 MB / 0.6625 GB, free: 0.6719 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0009559/0.1335, allocations: 364 kB / 0.6628 GB, free: 324 kB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008467/0.1343, allocations: 360 kB / 0.6632 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.1359, allocations: 1.982 MB / 0.6651 GB, free: 13.98 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.002849/0.1387, allocations: 2.163 MB / 0.6672 GB, free: 11.81 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.1413, allocations: 3.523 MB / 0.6706 GB, free: 8.273 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1413, allocations: 0 / 0.6706 GB, free: 8.273 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1413, allocations: 0 / 0.6706 GB, free: 8.273 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.258e-05/0.1414, allocations: 0 / 0.6706 GB, free: 8.273 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.02041/0.1618, allocations: 7.792 MB / 0.6782 GB, free: 424 kB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1619, allocations: 11.89 kB / 0.6783 GB, free: 412 kB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007839/0.1627, allocations: 381.4 kB / 0.6786 GB, free: 28 kB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/0.1658, allocations: 1.304 MB / 0.6799 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002751/0.1661, allocations: 435.9 kB / 0.6803 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/0.1673, allocations: 0.8885 MB / 0.6812 GB, free: 13.36 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00738/0.1747, allocations: 4.787 MB / 0.6859 GB, free: 8.559 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002174/0.1749, allocations: 158.8 kB / 0.686 GB, free: 8.402 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004579/0.1754, allocations: 155.9 kB / 0.6862 GB, free: 8.25 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/0.1754, allocations: 92 kB / 0.6862 GB, free: 8.16 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005357/0.1808, allocations: 3.394 MB / 0.6896 GB, free: 4.762 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0072/0.188, allocations: 5.319 MB / 0.6948 GB, free: 15.39 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.1986, allocations: 8.124 MB / 0.7027 GB, free: 7.008 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005269/0.2039, allocations: 3.704 MB / 0.7063 GB, free: 3.297 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004123/0.2044, allocations: 99.45 kB / 0.7064 GB, free: 3.199 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.195e-05/0.2044, allocations: 134.1 kB / 0.7065 GB, free: 3.059 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=960): time 1.018e-05/0.2045, allocations: 4 kB / 0.7065 GB, free: 3.055 MB / 0.5452 GB Notification: Performance of matching and sorting (n=960): time 0.03061/0.2351, allocations: 14.6 MB / 0.7208 GB, free: 4.422 MB / 0.5608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/0.2352, allocations: 150.9 kB / 0.7209 GB, free: 4.262 MB / 0.5608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.2355, allocations: 309.5 kB / 0.7212 GB, free: 3.949 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.0009742/0.2365, allocations: 273.7 kB / 0.7215 GB, free: 3.676 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.2367, allocations: 220.2 kB / 0.7217 GB, free: 3.453 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.003279/0.24, allocations: 3.846 MB / 0.7255 GB, free: 15.55 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003549/0.2436, allocations: 2.15 MB / 0.7276 GB, free: 13.38 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.2437, allocations: 310 kB / 0.7279 GB, free: 13.07 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006919/0.2506, allocations: 3.998 MB / 0.7318 GB, free: 9.066 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00901/0.2596, allocations: 6.617 MB / 0.7382 GB, free: 1.453 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0198/0.2794, allocations: 11.4 MB / 0.7494 GB, free: 5.039 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.443e-05/0.2796, allocations: 20 kB / 0.7494 GB, free: 5.02 MB / 0.592 GB Notification: Performance of matching and sorting (n=1600) (initialization): time 0.03479/0.3144, allocations: 15.76 MB / 0.7648 GB, free: 5.223 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.3145, allocations: 39.98 kB / 0.7648 GB, free: 5.184 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/0.3147, allocations: 68 kB / 0.7649 GB, free: 5.117 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.0001984/0.3149, allocations: 124.9 kB / 0.765 GB, free: 4.996 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008965/0.3239, allocations: 2.532 MB / 0.7675 GB, free: 2.461 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002857/0.3242, allocations: 163.5 kB / 0.7676 GB, free: 2.301 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005557/0.3297, allocations: 0.8695 MB / 0.7685 GB, free: 1.422 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001471/0.3312, allocations: 452 kB / 0.7689 GB, free: 0.9805 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.4981/0.8294, allocations: 1.125 MB / 0.77 GB, free: 104 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008541/0.8302, allocations: 298.3 kB / 0.7703 GB, free: 104 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.8325, allocations: 0.8841 MB / 0.7711 GB, free: 104 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.628e-05/0.8326, allocations: 43.59 kB / 0.7712 GB, free: 104 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.8326, allocations: 0 / 0.7712 GB, free: 104 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/0.8331, allocations: 489.5 kB / 0.7716 GB, free: 103.8 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/0.8342, allocations: 401 kB / 0.772 GB, free: 103.8 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003258/0.8375, allocations: 155.4 kB / 0.7722 GB, free: 103.8 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001773/0.8392, allocations: 0.8458 MB / 0.773 GB, free: 103.7 MB / 0.6079 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04957/0.8888, allocations: 17.04 MB / 0.7896 GB, free: 101.8 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02107/0.9099, allocations: 15.28 MB / 0.8046 GB, free: 93.32 MB / 0.6079 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00607/0.9161, allocations: 4.425 MB / 0.8089 GB, free: 88.88 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 2.934e-05/0.9161, allocations: 79.28 kB / 0.809 GB, free: 88.8 MB / 0.6079 GB Notification: Performance of Backend: time 1.082e-06/0.9161, allocations: 2.906 kB / 0.809 GB, free: 88.8 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.01475/0.9309, allocations: 8.871 MB / 0.8176 GB, free: 80.14 MB / 0.6079 GB Notification: Performance of SimCode: time 0.0368/0.9677, allocations: 44.9 MB / 0.8615 GB, free: 35.23 MB / 0.6079 GB Notification: Performance of Templates: time 0.1185/1.086, allocations: 80.8 MB / 0.9404 GB, free: 2.352 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