Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.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_800,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.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|der.x.80..|time|time|v.1.|v.2.|v.3.|v.4.|v.5.|v.80.|x.1.|x.2.|x.3.|x.4.|x.5.|x.80.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800,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.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|der.x.80..|time|time|v.1.|v.2.|v.3.|v.4.|v.5.|v.80.|x.1.|x.2.|x.3.|x.4.|x.5.|x.80.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 107.8 kB / 17.74 MB, free: 5.312 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.001585/0.001585, allocations: 194.5 kB / 18.68 MB, free: 4.387 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.894/1.894, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.07/1.07, allocations: 119.3 MB / 411.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 61.53 kB / 0.5717 GB, free: 39.66 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1631, allocations: 80.68 MB / 0.6504 GB, free: 12.97 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800): time 0.002707/0.1659, allocations: 1.215 MB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002136/0.1661, allocations: 43.83 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.1662, allocations: 0 / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.015e-05/0.1663, allocations: 3.938 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.848e-05/0.1664, allocations: 3.984 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.1666, allocations: 15.97 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.009525/0.1761, allocations: 11.58 MB / 0.663 GB, free: 92 kB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.1764, allocations: 52 kB / 0.6631 GB, free: 40 kB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007412/0.1839, allocations: 3.884 MB / 0.6668 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009794/0.1937, allocations: 4.768 MB / 0.6715 GB, free: 7.371 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.003499/0.1973, allocations: 0.5859 MB / 0.6721 GB, free: 6.785 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003645/0.2009, allocations: 0.5859 MB / 0.6726 GB, free: 6.199 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.005576/0.2065, allocations: 3.399 MB / 0.676 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.009845/0.2164, allocations: 3.779 MB / 0.6797 GB, free: 15 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.2274, allocations: 6.663 MB / 0.6862 GB, free: 8.312 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.2274, allocations: 0 / 0.6862 GB, free: 8.312 MB / 0.5295 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2275, allocations: 0 / 0.6862 GB, free: 8.312 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0002964/0.2278, allocations: 4 kB / 0.6862 GB, free: 8.309 MB / 0.5295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1600 * Number of variables: 1600 Notification: Performance of Generate backend data structure: time 0.04149/0.2693, allocations: 14.92 MB / 0.7007 GB, free: 9.297 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.2693, allocations: 15.89 kB / 0.7007 GB, free: 9.281 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/0.2718, allocations: 0.7086 MB / 0.7014 GB, free: 8.57 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005822/0.2776, allocations: 2.262 MB / 0.7037 GB, free: 6.262 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009171/0.2786, allocations: 0.8446 MB / 0.7045 GB, free: 5.414 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004433/0.283, allocations: 1.954 MB / 0.7064 GB, free: 3.457 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/0.3024, allocations: 8.404 MB / 0.7146 GB, free: 11 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001192/0.3036, allocations: 406.3 kB / 0.715 GB, free: 10.6 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001645/0.3053, allocations: 259.9 kB / 0.7152 GB, free: 10.34 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.3055, allocations: 148 kB / 0.7154 GB, free: 10.2 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01559/0.3211, allocations: 6.667 MB / 0.7219 GB, free: 3.512 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01523/0.3363, allocations: 7.793 MB / 0.7295 GB, free: 11.65 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02175/0.3581, allocations: 8.26 MB / 0.7376 GB, free: 3.367 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01222/0.3704, allocations: 5.757 MB / 0.7432 GB, free: 13.59 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/0.3725, allocations: 164.5 kB / 0.7433 GB, free: 13.43 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.3728, allocations: 195.1 kB / 0.7435 GB, free: 13.23 MB / 0.592 GB Notification: Performance of pre-optimization done (n=1600): time 3.191e-05/0.3728, allocations: 0 / 0.7435 GB, free: 13.23 MB / 0.592 GB Notification: Performance of matching and sorting (n=1600): time 0.05132/0.4241, allocations: 17.55 MB / 0.7607 GB, free: 11.59 MB / 0.6077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/0.4244, allocations: 211.9 kB / 0.7609 GB, free: 11.37 MB / 0.6077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/0.4253, allocations: 0.5872 MB / 0.7614 GB, free: 10.77 MB / 0.6077 GB Notification: Performance of collectPreVariables (initialization): time 0.00292/0.4282, allocations: 0.5134 MB / 0.7619 GB, free: 10.25 MB / 0.6077 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005928/0.4288, allocations: 421.7 kB / 0.7623 GB, free: 9.836 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.008097/0.4369, allocations: 7.364 MB / 0.7695 GB, free: 2.414 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.6955/1.132, allocations: 4.407 MB / 0.7738 GB, free: 99.51 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/1.133, allocations: 311.8 kB / 0.7741 GB, free: 99.2 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02344/1.156, allocations: 7.663 MB / 0.7816 GB, free: 98.6 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02973/1.186, allocations: 13.78 MB / 0.7951 GB, free: 89.59 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03567/1.222, allocations: 22.3 MB / 0.8168 GB, free: 73.56 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005208/1.222, allocations: 48 kB / 0.8169 GB, free: 73.51 MB / 0.6079 GB Notification: Performance of matching and sorting (n=3200) (initialization): time 0.05007/1.272, allocations: 23.56 MB / 0.8399 GB, free: 50.53 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004635/1.273, allocations: 82.97 kB / 0.84 GB, free: 50.45 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005473/1.273, allocations: 172 kB / 0.8401 GB, free: 50.29 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/1.274, allocations: 307.8 kB / 0.8404 GB, free: 49.99 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02522/1.299, allocations: 6.732 MB / 0.847 GB, free: 43.35 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000903/1.3, allocations: 410.7 kB / 0.8474 GB, free: 42.95 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01246/1.313, allocations: 2.196 MB / 0.8496 GB, free: 41.82 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004349/1.317, allocations: 0.9303 MB / 0.8505 GB, free: 40.89 MB / 0.6079 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * 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 (3200): * Single equations (assignments): 3200 * 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.008234/1.325, allocations: 2.097 MB / 0.8525 GB, free: 38.79 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002655/1.328, allocations: 0.5138 MB / 0.853 GB, free: 38.54 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/1.332, allocations: 1.383 MB / 0.8544 GB, free: 37.16 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002505/1.332, allocations: 75.7 kB / 0.8544 GB, free: 37.08 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.714e-05/1.332, allocations: 3.938 kB / 0.8544 GB, free: 37.08 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007596/1.333, allocations: 0.7646 MB / 0.8552 GB, free: 36.56 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00251/1.335, allocations: 0.8612 MB / 0.856 GB, free: 35.71 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00668/1.342, allocations: 0.6307 MB / 0.8566 GB, free: 35.17 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00319/1.345, allocations: 0.9559 MB / 0.8576 GB, free: 34.21 MB / 0.6079 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.09313/1.438, allocations: 30.01 MB / 0.8869 GB, free: 5.574 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06498/1.503, allocations: 27.02 MB / 0.9133 GB, free: 11.23 MB / 0.6392 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01601/1.519, allocations: 7.971 MB / 0.9211 GB, free: 3.219 MB / 0.6392 GB Notification: Performance of sorting global known variables: time 5.072e-05/1.519, allocations: 80.34 kB / 0.9211 GB, free: 3.141 MB / 0.6392 GB Notification: Performance of Backend: time 3.21e-07/1.519, allocations: 3.938 kB / 0.9211 GB, free: 3.137 MB / 0.6392 GB Notification: Performance of simCode: created initialization part: time 0.03168/1.551, allocations: 13.69 MB / 0.9345 GB, free: 5.758 MB / 0.6548 GB Notification: Performance of SimCode: time 0.1328/1.684, allocations: 101.7 MB / 1.034 GB, free: 15.86 MB / 0.7642 GB Notification: Performance of Templates: time 0.6822/2.366, allocations: 146.6 MB / 1.177 GB, free: 164.8 MB / 0.7798 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches