Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.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_80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.v.80..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|der.xm.80..|time|time|v.1.|v.2.|v.3.|v.4.|v.5.|v.80.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xm.80.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.|xs.80.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.v.80..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|der.xm.80..|time|time|v.1.|v.2.|v.3.|v.4.|v.5.|v.80.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xm.80.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.|xs.80.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001353/0.001353, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.289/1.289, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8994/0.8994, allocations: 119.3 MB / 411.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 66.48 kB / 0.5716 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.141, allocations: 80.7 MB / 0.6504 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80): time 0.002915/0.144, allocations: 1.227 MB / 0.6516 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002743/0.1443, allocations: 43.88 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.1443, allocations: 0 / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.1445, allocations: 0 / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 8.556e-05/0.1446, allocations: 19.91 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1448, allocations: 15.97 kB / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.1463, allocations: 1.674 MB / 0.6534 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.452e-05/0.1464, allocations: 12 kB / 0.6534 GB, free: 9.973 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.147, allocations: 0.5659 MB / 0.6539 GB, free: 9.406 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009129/0.1479, allocations: 0.5342 MB / 0.6544 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.1481, allocations: 88 kB / 0.6545 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.1483, allocations: 92 kB / 0.6546 GB, free: 8.695 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0004592/0.1488, allocations: 0.4934 MB / 0.6551 GB, free: 8.203 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0005919/0.1494, allocations: 0.5448 MB / 0.6556 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0007253/0.1501, allocations: 0.8876 MB / 0.6565 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1501, allocations: 0 / 0.6565 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1502, allocations: 0 / 0.6565 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.1502, allocations: 7.938 kB / 0.6565 GB, free: 6.758 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005059/0.1552, allocations: 2.164 MB / 0.6586 GB, free: 4.535 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.1553, allocations: 15.89 kB / 0.6586 GB, free: 4.52 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.1555, allocations: 92.09 kB / 0.6587 GB, free: 4.43 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009529/0.1565, allocations: 459.1 kB / 0.6592 GB, free: 3.941 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.521e-05/0.1566, allocations: 110.4 kB / 0.6593 GB, free: 3.836 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002993/0.1569, allocations: 223.8 kB / 0.6595 GB, free: 3.617 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.1586, allocations: 1.225 MB / 0.6607 GB, free: 2.387 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.48e-05/0.1587, allocations: 43.89 kB / 0.6607 GB, free: 2.344 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.1588, allocations: 39.94 kB / 0.6608 GB, free: 2.305 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.1588, allocations: 24 kB / 0.6608 GB, free: 2.281 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.1602, allocations: 0.8469 MB / 0.6616 GB, free: 1.43 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.162, allocations: 1.427 MB / 0.663 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.1644, allocations: 1.865 MB / 0.6648 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.1657, allocations: 0.9319 MB / 0.6657 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.715e-05/0.1658, allocations: 33.94 kB / 0.6658 GB, free: 13.11 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.1658, allocations: 56.56 kB / 0.6658 GB, free: 13.04 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=240): time 3.627e-06/0.1659, allocations: 0 / 0.6658 GB, free: 13.04 MB / 0.5139 GB Notification: Performance of matching and sorting (n=240): time 0.02534/0.1912, allocations: 6.66 MB / 0.6723 GB, free: 6.348 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.1913, allocations: 73.41 kB / 0.6724 GB, free: 6.266 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.1914, allocations: 145.8 kB / 0.6725 GB, free: 6.113 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.1916, allocations: 89.7 kB / 0.6726 GB, free: 6.02 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.1917, allocations: 117.2 kB / 0.6727 GB, free: 5.898 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006873/0.1924, allocations: 0.9586 MB / 0.6737 GB, free: 4.926 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006061/0.193, allocations: 0.5384 MB / 0.6742 GB, free: 4.379 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.1931, allocations: 313.9 kB / 0.6745 GB, free: 4.066 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.1945, allocations: 1.001 MB / 0.6755 GB, free: 3.062 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/0.1963, allocations: 1.649 MB / 0.6771 GB, free: 1.156 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003753/0.2001, allocations: 2.854 MB / 0.6799 GB, free: 14.05 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.2001, allocations: 8 kB / 0.6799 GB, free: 14.05 MB / 0.5295 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.007508/0.2077, allocations: 3.957 MB / 0.6837 GB, free: 10.08 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.2077, allocations: 16 kB / 0.6837 GB, free: 10.06 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.214e-05/0.2077, allocations: 16 kB / 0.6838 GB, free: 10.05 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004738/0.2125, allocations: 1.15 MB / 0.6849 GB, free: 8.895 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.2145, allocations: 0.6359 MB / 0.6855 GB, free: 8.258 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/0.2289, allocations: 8.902 MB / 0.6942 GB, free: 15.2 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.23, allocations: 229.6 kB / 0.6944 GB, free: 14.97 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.2301, allocations: 112 kB / 0.6945 GB, free: 14.86 MB / 0.5452 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (321): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,79,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005278/0.2307, allocations: 377.8 kB / 0.6949 GB, free: 14.48 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.2308, allocations: 83.09 kB / 0.695 GB, free: 14.4 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005092/0.2314, allocations: 228.3 kB / 0.6952 GB, free: 14.18 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.2314, allocations: 11.95 kB / 0.6952 GB, free: 14.16 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2314, allocations: 3.938 kB / 0.6952 GB, free: 14.16 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.2315, allocations: 179.7 kB / 0.6954 GB, free: 13.96 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.2317, allocations: 103.9 kB / 0.6955 GB, free: 13.86 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.2323, allocations: 36 kB / 0.6955 GB, free: 13.83 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003853/0.2327, allocations: 217.5 kB / 0.6957 GB, free: 13.61 MB / 0.5452 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009923/0.2427, allocations: 4.335 MB / 0.6999 GB, free: 9.266 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005289/0.248, allocations: 3.972 MB / 0.7038 GB, free: 5.27 MB / 0.5452 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001456/0.2494, allocations: 1.104 MB / 0.7049 GB, free: 4.168 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.2495, allocations: 79.28 kB / 0.705 GB, free: 4.09 MB / 0.5452 GB Notification: Performance of Backend: time 4.6e-07/0.2495, allocations: 0 / 0.705 GB, free: 4.09 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.005553/0.255, allocations: 2.696 MB / 0.7076 GB, free: 1.371 MB / 0.5452 GB Notification: Performance of SimCode: time 0.01225/0.2673, allocations: 11.5 MB / 0.7188 GB, free: 5.793 MB / 0.5608 GB Notification: Performance of Templates: time 0.0361/0.3035, allocations: 24.53 MB / 0.7428 GB, free: 13.27 MB / 0.592 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:der(v[1]),der(v[2]),der(v[3]),der(v[4]),der(v[5]),der(v[80]),der(xm[1]),der(xm[2]),der(xm[3]),der(xm[4]),der(xm[5]),der(xm[80]),time,time,v[1],v[2],v[3],v[4],v[5],v[80],xm[1],xm[2],xm[3],xm[4],xm[5],xm[80],xs[1],xs[2],xs[3],xs[4],xs[5],xs[80] Variables in the result:N,der(v[1]),der(v[2]),der(v[3]),der(v[4]),der(v[5]),der(v[80]),der(xm[1]),der(xm[2]),der(xm[3]),der(xm[4]),der(xm[5]),der(xm[80]),k,m,time,v[1],v[2],v[3],v[4],v[5],v[80],xm[1],xm[2],xm[3],xm[4],xm[5],xm[80],xs[1],xs[2],xs[3],xs[4],xs[5],xs[80]