Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001081/0.001081, 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.001429/0.001429, 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.296/1.296, 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.8681/0.8681, allocations: 119.3 MB / 411.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 62.25 kB / 0.5716 GB, free: 39.91 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1351, allocations: 80.7 MB / 0.6504 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800): time 0.002426/0.1375, allocations: 1.207 MB / 0.6516 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002036/0.1378, allocations: 35.89 kB / 0.6517 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.1378, allocations: 0 / 0.6517 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.716e-05/0.1379, allocations: 3.984 kB / 0.6517 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.138, allocations: 7.938 kB / 0.6517 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.1382, allocations: 23.95 kB / 0.6517 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.008971/0.1472, allocations: 11.57 MB / 0.663 GB, free: 256 kB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.1474, allocations: 60 kB / 0.6631 GB, free: 196 kB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006104/0.1535, allocations: 3.884 MB / 0.6668 GB, free: 12.3 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008341/0.1619, allocations: 4.76 MB / 0.6715 GB, free: 7.531 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.00313/0.1651, allocations: 0.5859 MB / 0.6721 GB, free: 6.945 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.1675, allocations: 0.5859 MB / 0.6726 GB, free: 6.359 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.003489/0.171, allocations: 3.399 MB / 0.676 GB, free: 2.953 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.007385/0.1784, allocations: 3.783 MB / 0.6796 GB, free: 15.15 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.007103/0.1855, allocations: 6.631 MB / 0.6861 GB, free: 8.504 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.1856, allocations: 0 / 0.6861 GB, free: 8.504 MB / 0.5295 GB Notification: Performance of FrontEnd: time 2.465e-06/0.1856, allocations: 0 / 0.6861 GB, free: 8.504 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0001975/0.1858, allocations: 4 kB / 0.6861 GB, free: 8.5 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.03555/0.2213, allocations: 14.82 MB / 0.7006 GB, free: 9.594 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.2214, allocations: 15.89 kB / 0.7006 GB, free: 9.578 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.2229, allocations: 0.6826 MB / 0.7013 GB, free: 8.891 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00628/0.2292, allocations: 2.262 MB / 0.7035 GB, free: 6.582 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005762/0.2298, allocations: 0.8446 MB / 0.7043 GB, free: 5.734 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002717/0.2325, allocations: 1.928 MB / 0.7062 GB, free: 3.801 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/0.2478, allocations: 8.404 MB / 0.7144 GB, free: 11.34 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007815/0.2487, allocations: 397 kB / 0.7148 GB, free: 10.95 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008514/0.2495, allocations: 259.9 kB / 0.715 GB, free: 10.7 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.2496, allocations: 148 kB / 0.7152 GB, free: 10.55 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/0.2618, allocations: 6.659 MB / 0.7217 GB, free: 3.871 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.2741, allocations: 7.771 MB / 0.7293 GB, free: 12.03 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01913/0.2932, allocations: 8.264 MB / 0.7373 GB, free: 3.742 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0103/0.3036, allocations: 5.757 MB / 0.743 GB, free: 13.97 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/0.3051, allocations: 164.5 kB / 0.7431 GB, free: 13.8 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.3053, allocations: 195.1 kB / 0.7433 GB, free: 13.6 MB / 0.592 GB Notification: Performance of pre-optimization done (n=1600): time 2.447e-05/0.3053, allocations: 0 / 0.7433 GB, free: 13.6 MB / 0.592 GB Notification: Performance of matching and sorting (n=1600): time 0.03816/0.3435, allocations: 17.53 MB / 0.7604 GB, free: 11.99 MB / 0.6077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.3437, allocations: 211.9 kB / 0.7606 GB, free: 11.77 MB / 0.6077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006607/0.3443, allocations: 0.5871 MB / 0.7612 GB, free: 11.17 MB / 0.6077 GB Notification: Performance of collectPreVariables (initialization): time 0.001874/0.3462, allocations: 0.5134 MB / 0.7617 GB, free: 10.65 MB / 0.6077 GB Notification: Performance of collectInitialEqns (initialization): time 0.000495/0.3467, allocations: 421.6 kB / 0.7621 GB, free: 10.23 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.006652/0.3534, allocations: 7 MB / 0.7689 GB, free: 3.133 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5545/0.908, allocations: 4.41 MB / 0.7732 GB, free: 99.7 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.9081, allocations: 307.4 kB / 0.7735 GB, free: 99.39 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01674/0.9248, allocations: 7.667 MB / 0.781 GB, free: 99.01 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01758/0.9424, allocations: 13.77 MB / 0.7945 GB, free: 90 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0246/0.9671, allocations: 22.3 MB / 0.8163 GB, free: 74.55 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003151/0.9674, allocations: 48 kB / 0.8163 GB, free: 74.51 MB / 0.6079 GB Notification: Performance of matching and sorting (n=3200) (initialization): time 0.04063/1.008, allocations: 23.52 MB / 0.8393 GB, free: 51.54 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002062/1.008, allocations: 80 kB / 0.8393 GB, free: 51.46 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003184/1.009, allocations: 172 kB / 0.8395 GB, free: 51.29 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/1.009, allocations: 308.8 kB / 0.8398 GB, free: 51 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02318/1.032, allocations: 6.724 MB / 0.8464 GB, free: 44.36 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005988/1.033, allocations: 418.5 kB / 0.8468 GB, free: 43.95 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/1.044, allocations: 2.146 MB / 0.8489 GB, free: 42.39 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00311/1.047, allocations: 0.9297 MB / 0.8498 GB, free: 41.46 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.005445/1.052, allocations: 2.095 MB / 0.8518 GB, free: 39.35 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/1.054, allocations: 0.4907 MB / 0.8523 GB, free: 39.11 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/1.057, allocations: 1.379 MB / 0.8536 GB, free: 37.72 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001049/1.057, allocations: 75.7 kB / 0.8537 GB, free: 37.65 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/1.057, allocations: 7.875 kB / 0.8537 GB, free: 37.64 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000665/1.058, allocations: 0.7384 MB / 0.8544 GB, free: 37.13 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001747/1.059, allocations: 0.8567 MB / 0.8553 GB, free: 36.27 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005349/1.065, allocations: 0.6344 MB / 0.8559 GB, free: 35.74 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001643/1.066, allocations: 0.9559 MB / 0.8568 GB, free: 34.78 MB / 0.6079 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.08547/1.152, allocations: 29.93 MB / 0.8861 GB, free: 6.137 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05123/1.203, allocations: 26.95 MB / 0.9124 GB, free: 11.79 MB / 0.6392 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01501/1.218, allocations: 7.971 MB / 0.9202 GB, free: 3.777 MB / 0.6392 GB Notification: Performance of sorting global known variables: time 7.069e-05/1.218, allocations: 80.95 kB / 0.9202 GB, free: 3.699 MB / 0.6392 GB Notification: Performance of Backend: time 4.2e-07/1.218, allocations: 0 / 0.9202 GB, free: 3.699 MB / 0.6392 GB Notification: Performance of simCode: created initialization part: time 0.02892/1.247, allocations: 13.64 MB / 0.9336 GB, free: 6.344 MB / 0.6548 GB Notification: Performance of SimCode: time 0.1179/1.365, allocations: 100.8 MB / 1.032 GB, free: 1.379 MB / 0.7485 GB Notification: Performance of Templates: time 0.5044/1.87, allocations: 146.6 MB / 1.175 GB, free: 165.8 MB / 0.7798 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_800.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches