Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.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_200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|x.1.|x.20.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|x.1.|x.20.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001238, allocations: 112.7 kB / 17.75 MB, free: 5.18 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.001174/0.001174, allocations: 187 kB / 18.68 MB, free: 4.258 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.242/1.242, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8408/0.8408, allocations: 119.3 MB / 411.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.02 kB / 0.5716 GB, free: 39.71 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1461, allocations: 80.69 MB / 0.6504 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200): time 0.002497/0.1487, allocations: 1.223 MB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000203/0.1489, allocations: 31.95 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.1489, allocations: 0 / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.856e-05/0.149, allocations: 7.922 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.89e-05/0.1491, allocations: 8 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.1493, allocations: 19.95 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.002341/0.1517, allocations: 2.899 MB / 0.6545 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1518, allocations: 12 kB / 0.6545 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.1535, allocations: 0.9719 MB / 0.6555 GB, free: 7.793 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.1556, allocations: 1.205 MB / 0.6567 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0007327/0.1564, allocations: 148 kB / 0.6568 GB, free: 6.441 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006173/0.157, allocations: 152 kB / 0.657 GB, free: 6.293 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0009459/0.1579, allocations: 0.8459 MB / 0.6578 GB, free: 5.445 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001894/0.1598, allocations: 0.9496 MB / 0.6587 GB, free: 4.492 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.1612, allocations: 1.655 MB / 0.6603 GB, free: 2.832 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.1612, allocations: 4 kB / 0.6603 GB, free: 2.828 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1612, allocations: 3.938 kB / 0.6603 GB, free: 2.824 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.1613, allocations: 0 / 0.6603 GB, free: 2.824 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: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.008862/0.1701, allocations: 3.916 MB / 0.6642 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1702, allocations: 11.89 kB / 0.6642 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003609/0.1706, allocations: 175.4 kB / 0.6643 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.1721, allocations: 0.6859 MB / 0.665 GB, free: 13.94 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.1722, allocations: 223.5 kB / 0.6652 GB, free: 13.72 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005911/0.1728, allocations: 498.8 kB / 0.6657 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.1757, allocations: 2.116 MB / 0.6678 GB, free: 11.1 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000189/0.1759, allocations: 99.39 kB / 0.6679 GB, free: 11 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.1761, allocations: 63.94 kB / 0.6679 GB, free: 10.94 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.1761, allocations: 40 kB / 0.668 GB, free: 10.9 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.1786, allocations: 1.659 MB / 0.6696 GB, free: 9.234 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.1811, allocations: 2.045 MB / 0.6716 GB, free: 7.133 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.184, allocations: 2.09 MB / 0.6736 GB, free: 5.035 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.1859, allocations: 1.447 MB / 0.675 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.1861, allocations: 39.14 kB / 0.6751 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.1861, allocations: 77.7 kB / 0.6751 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=400): time 5.491e-06/0.1861, allocations: 0 / 0.6751 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of matching and sorting (n=400): time 0.006372/0.1925, allocations: 4.4 MB / 0.6794 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.1926, allocations: 94.53 kB / 0.6795 GB, free: 14.91 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1928, allocations: 225.7 kB / 0.6797 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.1931, allocations: 153.6 kB / 0.6799 GB, free: 14.53 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1932, allocations: 173.5 kB / 0.6801 GB, free: 14.35 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001144/0.1943, allocations: 1.748 MB / 0.6818 GB, free: 12.58 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.1954, allocations: 1.102 MB / 0.6828 GB, free: 11.47 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.1955, allocations: 309.9 kB / 0.6831 GB, free: 11.16 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/0.1982, allocations: 1.917 MB / 0.685 GB, free: 9.238 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003678/0.2019, allocations: 3.444 MB / 0.6884 GB, free: 5.168 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006769/0.2086, allocations: 5.58 MB / 0.6938 GB, free: 14.95 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.708e-05/0.2087, allocations: 12 kB / 0.6938 GB, free: 14.94 MB / 0.5452 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.008656/0.2174, allocations: 5.899 MB / 0.6996 GB, free: 9.012 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.2174, allocations: 30.75 kB / 0.6996 GB, free: 8.984 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.767e-05/0.2175, allocations: 47.98 kB / 0.6997 GB, free: 8.938 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.2e-05/0.2176, allocations: 75.94 kB / 0.6997 GB, free: 8.863 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005863/0.2235, allocations: 1.682 MB / 0.7014 GB, free: 7.18 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001382/0.2236, allocations: 95.72 kB / 0.7015 GB, free: 7.086 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.2261, allocations: 0.5382 MB / 0.702 GB, free: 6.543 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000334/0.2264, allocations: 244 kB / 0.7022 GB, free: 6.305 MB / 0.5452 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * 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 (800): * Single equations (assignments): 800 * 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.0009427/0.2274, allocations: 0.609 MB / 0.7028 GB, free: 5.684 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.2277, allocations: 122.5 kB / 0.7029 GB, free: 5.562 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007107/0.2284, allocations: 362.3 kB / 0.7033 GB, free: 5.199 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.901e-05/0.2284, allocations: 20.11 kB / 0.7033 GB, free: 5.18 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.2284, allocations: 0 / 0.7033 GB, free: 5.18 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.2286, allocations: 254.7 kB / 0.7036 GB, free: 4.91 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004269/0.2291, allocations: 223.8 kB / 0.7038 GB, free: 4.691 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.2303, allocations: 159.9 kB / 0.7039 GB, free: 4.535 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/0.2308, allocations: 246.7 kB / 0.7042 GB, free: 4.293 MB / 0.5452 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02312/0.2539, allocations: 7.545 MB / 0.7115 GB, free: 12.71 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009141/0.2631, allocations: 6.879 MB / 0.7182 GB, free: 5.773 MB / 0.5608 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002663/0.2658, allocations: 1.999 MB / 0.7202 GB, free: 3.766 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.2658, allocations: 79.22 kB / 0.7203 GB, free: 3.688 MB / 0.5608 GB Notification: Performance of Backend: time 6.81e-07/0.2658, allocations: 0 / 0.7203 GB, free: 3.688 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.005178/0.271, allocations: 3.459 MB / 0.7236 GB, free: 232 kB / 0.5608 GB Notification: Performance of SimCode: time 0.0292/0.3002, allocations: 25.36 MB / 0.7484 GB, free: 6.773 MB / 0.592 GB Notification: Performance of Templates: time 0.5648/0.8651, allocations: 37.42 MB / 0.785 GB, free: 103.8 MB / 0.6079 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches