Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001483/0.001484, allocations: 111.7 kB / 17.75 MB, free: 5.332 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.001643/0.001643, allocations: 190.6 kB / 18.68 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.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.036/1.036, allocations: 119.3 MB / 411.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.89 kB / 0.5716 GB, free: 39.71 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1846, allocations: 80.69 MB / 0.6504 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200): time 0.003096/0.1878, allocations: 1.211 MB / 0.6516 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002231/0.188, allocations: 39.86 kB / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.1881, allocations: 0 / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.1882, allocations: 0 / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.185e-05/0.1883, allocations: 11.94 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.1885, allocations: 19.97 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.002643/0.1912, allocations: 2.895 MB / 0.6545 GB, free: 8.809 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1913, allocations: 16 kB / 0.6545 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.1931, allocations: 0.9758 MB / 0.6555 GB, free: 7.816 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/0.1953, allocations: 1.205 MB / 0.6567 GB, free: 6.609 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0007304/0.1961, allocations: 148 kB / 0.6568 GB, free: 6.465 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006435/0.1967, allocations: 148 kB / 0.657 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.1978, allocations: 0.8498 MB / 0.6578 GB, free: 5.469 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.002205/0.2, allocations: 0.9496 MB / 0.6587 GB, free: 4.516 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.2021, allocations: 1.651 MB / 0.6603 GB, free: 2.859 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2021, allocations: 0 / 0.6603 GB, free: 2.859 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2021, allocations: 0 / 0.6603 GB, free: 2.859 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.281e-05/0.2022, allocations: 0 / 0.6603 GB, free: 2.859 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.01015/0.2123, allocations: 3.92 MB / 0.6642 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.2124, allocations: 12.03 kB / 0.6642 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006077/0.213, allocations: 179.4 kB / 0.6643 GB, free: 14.69 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.2149, allocations: 0.6859 MB / 0.665 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.2151, allocations: 219.5 kB / 0.6652 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008183/0.2159, allocations: 494.8 kB / 0.6657 GB, free: 13.27 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003575/0.2195, allocations: 2.124 MB / 0.6678 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/0.2197, allocations: 99.34 kB / 0.6679 GB, free: 11.03 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.2199, allocations: 67.94 kB / 0.6679 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.2199, allocations: 44 kB / 0.668 GB, free: 10.92 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.2224, allocations: 1.663 MB / 0.6696 GB, free: 9.25 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.2251, allocations: 2.034 MB / 0.6716 GB, free: 7.16 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.2282, allocations: 2.094 MB / 0.6736 GB, free: 5.059 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/0.2302, allocations: 1.439 MB / 0.675 GB, free: 3.613 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.2304, allocations: 39.14 kB / 0.6751 GB, free: 3.574 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/0.2304, allocations: 77.7 kB / 0.6751 GB, free: 3.488 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=400): time 6.662e-06/0.2304, allocations: 0 / 0.6751 GB, free: 3.488 MB / 0.5139 GB Notification: Performance of matching and sorting (n=400): time 0.007245/0.2377, allocations: 4.412 MB / 0.6794 GB, free: 15.04 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.2378, allocations: 90.55 kB / 0.6795 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.238, allocations: 221.7 kB / 0.6797 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003257/0.2384, allocations: 153.7 kB / 0.6799 GB, free: 14.56 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.2385, allocations: 165.5 kB / 0.68 GB, free: 14.39 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001458/0.24, allocations: 1.748 MB / 0.6817 GB, free: 12.62 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001466/0.2415, allocations: 1.106 MB / 0.6828 GB, free: 11.5 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2416, allocations: 310 kB / 0.6831 GB, free: 11.19 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003212/0.2448, allocations: 1.917 MB / 0.685 GB, free: 9.27 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004498/0.2493, allocations: 3.448 MB / 0.6884 GB, free: 5.195 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007692/0.257, allocations: 5.572 MB / 0.6938 GB, free: 14.98 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.693e-05/0.2571, allocations: 20 kB / 0.6938 GB, free: 14.96 MB / 0.5452 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01071/0.2679, allocations: 5.895 MB / 0.6996 GB, free: 9.043 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 7.308e-05/0.268, allocations: 31.22 kB / 0.6996 GB, free: 9.016 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.583e-05/0.2681, allocations: 47.98 kB / 0.6997 GB, free: 8.969 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001232/0.2682, allocations: 79.94 kB / 0.6997 GB, free: 8.891 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006197/0.2744, allocations: 1.677 MB / 0.7014 GB, free: 7.211 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000197/0.2746, allocations: 107.6 kB / 0.7015 GB, free: 7.105 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/0.2773, allocations: 0.5343 MB / 0.702 GB, free: 6.566 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007358/0.2781, allocations: 240 kB / 0.7022 GB, free: 6.332 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.001567/0.2797, allocations: 0.6051 MB / 0.7028 GB, free: 5.715 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004753/0.2802, allocations: 126.5 kB / 0.7029 GB, free: 5.59 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008509/0.281, allocations: 362.3 kB / 0.7033 GB, free: 5.227 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-05/0.2811, allocations: 23.92 kB / 0.7033 GB, free: 5.203 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.2811, allocations: 0 / 0.7033 GB, free: 5.203 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.2814, allocations: 246.7 kB / 0.7035 GB, free: 4.941 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005556/0.282, allocations: 219.8 kB / 0.7037 GB, free: 4.727 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.2835, allocations: 163.8 kB / 0.7039 GB, free: 4.566 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005333/0.284, allocations: 238.9 kB / 0.7041 GB, free: 4.332 MB / 0.5452 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02584/0.3099, allocations: 7.557 MB / 0.7115 GB, free: 12.74 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01404/0.324, allocations: 6.883 MB / 0.7182 GB, free: 5.797 MB / 0.5608 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003858/0.3279, allocations: 1.987 MB / 0.7202 GB, free: 3.801 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 8.037e-05/0.328, allocations: 87.28 kB / 0.7203 GB, free: 3.715 MB / 0.5608 GB Notification: Performance of Backend: time 1.172e-06/0.3281, allocations: 0 / 0.7203 GB, free: 3.715 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.007729/0.3358, allocations: 3.465 MB / 0.7236 GB, free: 252 kB / 0.5608 GB Notification: Performance of SimCode: time 0.02909/0.3649, allocations: 25.36 MB / 0.7484 GB, free: 6.789 MB / 0.592 GB Notification: Performance of Templates: time 0.6842/1.049, allocations: 37.43 MB / 0.785 GB, free: 103.3 MB / 0.6079 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_200.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches