Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.0013/0.0013, allocations: 105.2 kB / 17.74 MB, free: 5.324 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.001389/0.001389, allocations: 182.5 kB / 18.67 MB, free: 4.406 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.278/1.278, 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.8116/0.8116, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 65.89 kB / 0.5716 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1566, allocations: 80.69 MB / 0.6504 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400): time 0.002214/0.1589, allocations: 1.219 MB / 0.6516 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002042/0.1591, allocations: 35.88 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.1591, allocations: 0 / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.863e-05/0.1592, allocations: 3.984 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.1593, allocations: 11.94 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.1595, allocations: 15.97 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.004864/0.1644, allocations: 5.786 MB / 0.6573 GB, free: 5.902 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1646, allocations: 35.98 kB / 0.6574 GB, free: 5.867 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003289/0.1678, allocations: 1.936 MB / 0.6593 GB, free: 3.93 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004253/0.1721, allocations: 2.392 MB / 0.6616 GB, free: 1.531 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.001233/0.1734, allocations: 300 kB / 0.6619 GB, free: 1.238 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008283/0.1742, allocations: 300 kB / 0.6622 GB, free: 0.9453 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.1757, allocations: 1.696 MB / 0.6638 GB, free: 15.25 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.003029/0.1787, allocations: 1.895 MB / 0.6657 GB, free: 13.34 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.1816, allocations: 3.321 MB / 0.6689 GB, free: 10.01 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1816, allocations: 0 / 0.6689 GB, free: 10.01 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1816, allocations: 0 / 0.6689 GB, free: 10.01 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.277e-05/0.1817, allocations: 0 / 0.6689 GB, free: 10.01 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.0176/0.1993, allocations: 7.548 MB / 0.6763 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1993, allocations: 15.83 kB / 0.6763 GB, free: 2.379 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006761/0.2, allocations: 353.9 kB / 0.6767 GB, free: 2.031 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.2026, allocations: 1.207 MB / 0.6778 GB, free: 0.7812 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002768/0.2029, allocations: 434.6 kB / 0.6782 GB, free: 364 kB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/0.2041, allocations: 0.9737 MB / 0.6792 GB, free: 15.38 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005855/0.2099, allocations: 4.212 MB / 0.6833 GB, free: 11.14 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002456/0.2102, allocations: 194.6 kB / 0.6835 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003356/0.2105, allocations: 131.9 kB / 0.6836 GB, free: 10.82 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.706e-05/0.2106, allocations: 76 kB / 0.6837 GB, free: 10.74 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004889/0.2155, allocations: 3.33 MB / 0.6869 GB, free: 7.402 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005356/0.2209, allocations: 3.95 MB / 0.6908 GB, free: 3.391 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00704/0.2279, allocations: 4.141 MB / 0.6949 GB, free: 15.23 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004044/0.232, allocations: 2.889 MB / 0.6977 GB, free: 12.34 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/0.2323, allocations: 82.27 kB / 0.6977 GB, free: 12.25 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.781e-05/0.2324, allocations: 116.8 kB / 0.6979 GB, free: 12.13 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=800): time 9.368e-06/0.2324, allocations: 0 / 0.6979 GB, free: 12.13 MB / 0.5452 GB Notification: Performance of matching and sorting (n=800): time 0.01396/0.2464, allocations: 8.774 MB / 0.7064 GB, free: 3.309 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.202e-05/0.2466, allocations: 137.7 kB / 0.7066 GB, free: 3.16 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.2469, allocations: 349.6 kB / 0.7069 GB, free: 2.809 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0004845/0.2474, allocations: 277.7 kB / 0.7072 GB, free: 2.531 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.2476, allocations: 246.9 kB / 0.7074 GB, free: 2.285 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.002522/0.2501, allocations: 3.496 MB / 0.7108 GB, free: 14.73 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002744/0.2529, allocations: 2.212 MB / 0.713 GB, free: 12.51 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.253, allocations: 314 kB / 0.7133 GB, free: 12.2 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006311/0.2593, allocations: 3.83 MB / 0.717 GB, free: 8.355 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008657/0.268, allocations: 6.885 MB / 0.7237 GB, free: 232 kB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01641/0.2844, allocations: 11.15 MB / 0.7346 GB, free: 3.801 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/0.2846, allocations: 24 kB / 0.7346 GB, free: 3.777 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1600) (initialization): time 0.02199/0.3066, allocations: 11.77 MB / 0.7461 GB, free: 7.957 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.3068, allocations: 47.98 kB / 0.7462 GB, free: 7.91 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001711/0.3069, allocations: 88 kB / 0.7463 GB, free: 7.824 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.3072, allocations: 151.9 kB / 0.7464 GB, free: 7.676 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01217/0.3194, allocations: 3.367 MB / 0.7497 GB, free: 4.305 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003628/0.3197, allocations: 199.4 kB / 0.7499 GB, free: 4.109 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005342/0.3251, allocations: 1.076 MB / 0.7509 GB, free: 3.023 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001609/0.3267, allocations: 479.9 kB / 0.7514 GB, free: 2.555 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.003361/0.3301, allocations: 1.103 MB / 0.7525 GB, free: 1.438 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/0.3314, allocations: 257 kB / 0.7527 GB, free: 1.184 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.3331, allocations: 0.6967 MB / 0.7534 GB, free: 492 kB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.8e-05/0.3332, allocations: 35.86 kB / 0.7534 GB, free: 456 kB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.3333, allocations: 0 / 0.7534 GB, free: 456 kB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.3337, allocations: 424.3 kB / 0.7538 GB, free: 8 kB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/0.335, allocations: 439.6 kB / 0.7543 GB, free: 15.58 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/0.338, allocations: 327.7 kB / 0.7546 GB, free: 15.26 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009916/0.339, allocations: 489.5 kB / 0.755 GB, free: 14.78 MB / 0.6077 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.5342/0.8732, allocations: 15 MB / 0.7697 GB, free: 96.26 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0212/0.8945, allocations: 13.57 MB / 0.7829 GB, free: 95.14 MB / 0.6079 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004978/0.8995, allocations: 3.988 MB / 0.7868 GB, free: 94.63 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 2.485e-05/0.8995, allocations: 82.09 kB / 0.7869 GB, free: 94.56 MB / 0.6079 GB Notification: Performance of Backend: time 4.21e-07/0.8995, allocations: 0 / 0.7869 GB, free: 94.56 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.007686/0.9072, allocations: 6.85 MB / 0.7936 GB, free: 92.44 MB / 0.6079 GB Notification: Performance of SimCode: time 0.0397/0.9469, allocations: 50.43 MB / 0.8429 GB, free: 53.6 MB / 0.6079 GB Notification: Performance of Templates: time 0.2241/1.171, allocations: 73.31 MB / 0.9144 GB, free: 12.21 MB / 0.6392 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_400.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches