Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.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_400,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.40..|der.v.4..|der.v.5..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|der.x.4..|der.x.5..|time|time|v.1.|v.2.|v.3.|v.40.|v.4.|v.5.|x.1.|x.2.|x.3.|x.40.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.40..|der.v.4..|der.v.5..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|der.x.4..|der.x.5..|time|time|v.1.|v.2.|v.3.|v.40.|v.4.|v.5.|x.1.|x.2.|x.3.|x.40.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 111 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.001768/0.001768, allocations: 186.1 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.363/1.363, 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 1.061/1.061, allocations: 119.3 MB / 411.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 66.91 kB / 0.5716 GB, free: 39.74 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1702, allocations: 80.7 MB / 0.6504 GB, free: 13.01 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400): time 0.002738/0.173, allocations: 1.211 MB / 0.6516 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002199/0.1732, allocations: 43.86 kB / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.1733, allocations: 0 / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.581e-05/0.1734, allocations: 0 / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.1735, allocations: 11.92 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.1737, allocations: 11.98 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00462/0.1783, allocations: 5.794 MB / 0.6574 GB, free: 5.918 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.1785, allocations: 24 kB / 0.6574 GB, free: 5.895 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003314/0.1818, allocations: 1.948 MB / 0.6593 GB, free: 3.945 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004377/0.1862, allocations: 2.384 MB / 0.6616 GB, free: 1.555 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.1876, allocations: 304 kB / 0.6619 GB, free: 1.258 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.189, allocations: 300 kB / 0.6622 GB, free: 0.9648 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002235/0.1912, allocations: 1.696 MB / 0.6638 GB, free: 15.26 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.004238/0.1955, allocations: 1.895 MB / 0.6657 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0033/0.1988, allocations: 3.314 MB / 0.6689 GB, free: 10.04 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1988, allocations: 0 / 0.6689 GB, free: 10.04 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.036e-06/0.1988, allocations: 7.922 kB / 0.6689 GB, free: 10.03 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.61e-05/0.1989, allocations: 0 / 0.6689 GB, free: 10.03 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: 800 * Number of variables: 800 Notification: Performance of Generate backend data structure: time 0.01768/0.2165, allocations: 7.548 MB / 0.6763 GB, free: 2.41 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.2166, allocations: 11.89 kB / 0.6763 GB, free: 2.398 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006927/0.2173, allocations: 349.9 kB / 0.6766 GB, free: 2.055 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/0.2204, allocations: 1.219 MB / 0.6778 GB, free: 0.7969 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.2207, allocations: 430.6 kB / 0.6782 GB, free: 384 kB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.222, allocations: 0.9621 MB / 0.6792 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006493/0.2285, allocations: 4.22 MB / 0.6833 GB, free: 11.16 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003206/0.2288, allocations: 194.6 kB / 0.6835 GB, free: 10.97 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003394/0.2292, allocations: 127.9 kB / 0.6836 GB, free: 10.84 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.472e-05/0.2292, allocations: 76 kB / 0.6837 GB, free: 10.77 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005065/0.2343, allocations: 3.334 MB / 0.6869 GB, free: 7.426 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005801/0.2401, allocations: 3.946 MB / 0.6908 GB, free: 3.418 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007206/0.2473, allocations: 4.141 MB / 0.6948 GB, free: 15.26 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004413/0.2518, allocations: 2.885 MB / 0.6977 GB, free: 12.36 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.2521, allocations: 82.27 kB / 0.6977 GB, free: 12.28 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.697e-05/0.2522, allocations: 120.8 kB / 0.6979 GB, free: 12.15 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=800): time 9.538e-06/0.2522, allocations: 4 kB / 0.6979 GB, free: 12.15 MB / 0.5452 GB Notification: Performance of matching and sorting (n=800): time 0.01444/0.2667, allocations: 8.778 MB / 0.7064 GB, free: 3.324 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.2668, allocations: 133.7 kB / 0.7066 GB, free: 3.18 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.2671, allocations: 345.6 kB / 0.7069 GB, free: 2.832 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0006433/0.2678, allocations: 277.7 kB / 0.7072 GB, free: 2.555 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.2682, allocations: 250.9 kB / 0.7074 GB, free: 2.305 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.003274/0.2714, allocations: 3.5 MB / 0.7108 GB, free: 14.75 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003446/0.2749, allocations: 2.212 MB / 0.713 GB, free: 12.53 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0002768/0.2752, allocations: 314 kB / 0.7133 GB, free: 12.21 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007015/0.2822, allocations: 3.83 MB / 0.717 GB, free: 8.375 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009924/0.2922, allocations: 6.885 MB / 0.7237 GB, free: 252 kB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/0.3085, allocations: 11.15 MB / 0.7346 GB, free: 3.824 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001429/0.3087, allocations: 28 kB / 0.7346 GB, free: 3.797 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1600) (initialization): time 0.02173/0.3304, allocations: 11.77 MB / 0.7461 GB, free: 7.977 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.3306, allocations: 43.94 kB / 0.7462 GB, free: 7.934 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001703/0.3308, allocations: 88 kB / 0.7463 GB, free: 7.848 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.331, allocations: 155.9 kB / 0.7464 GB, free: 7.695 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0125/0.3435, allocations: 3.359 MB / 0.7497 GB, free: 4.332 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004024/0.3439, allocations: 211.3 kB / 0.7499 GB, free: 4.125 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005514/0.3494, allocations: 1.076 MB / 0.751 GB, free: 3.039 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/0.351, allocations: 476 kB / 0.7514 GB, free: 2.574 MB / 0.592 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 401 * 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 (1600): * Single equations (assignments): 1600 * 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.003007/0.354, allocations: 1.095 MB / 0.7525 GB, free: 1.465 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009805/0.355, allocations: 253 kB / 0.7527 GB, free: 1.215 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.3566, allocations: 0.6967 MB / 0.7534 GB, free: 0.5117 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.659e-05/0.3567, allocations: 39.84 kB / 0.7534 GB, free: 484 kB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.3567, allocations: 0 / 0.7534 GB, free: 484 kB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.3571, allocations: 420.3 kB / 0.7538 GB, free: 40 kB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/0.3582, allocations: 439.6 kB / 0.7543 GB, free: 15.61 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/0.3611, allocations: 323.7 kB / 0.7546 GB, free: 15.29 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/0.3622, allocations: 493.6 kB / 0.755 GB, free: 14.81 MB / 0.6077 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.6331/0.9952, allocations: 15 MB / 0.7697 GB, free: 96.25 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02776/1.023, allocations: 13.58 MB / 0.7829 GB, free: 95.12 MB / 0.6079 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006895/1.03, allocations: 3.984 MB / 0.7868 GB, free: 94.62 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 4.76e-05/1.03, allocations: 78.94 kB / 0.7869 GB, free: 94.55 MB / 0.6079 GB Notification: Performance of Backend: time 4.51e-07/1.03, allocations: 0 / 0.7869 GB, free: 94.55 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.01212/1.042, allocations: 6.857 MB / 0.7936 GB, free: 92.43 MB / 0.6079 GB Notification: Performance of SimCode: time 0.04572/1.088, allocations: 50.43 MB / 0.8429 GB, free: 53.63 MB / 0.6079 GB Notification: Performance of Templates: time 0.1009/1.189, allocations: 73.32 MB / 0.9145 GB, free: 12.25 MB / 0.6392 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches