Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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.HarmonicOscillatorNetwork_N_20,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.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,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.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009665/0.0009665, allocations: 89.8 kB / 16.65 MB, free: 6.535 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.001183/0.001183, allocations: 175.2 kB / 17.56 MB, free: 6.18 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.304/1.304, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9467/0.9467, allocations: 120.5 MB / 413.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 8 kB / 0.4949 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/0.5245, allocations: 82.83 MB / 0.5758 GB, free: 42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001066/0.5256, allocations: 0.959 MB / 0.5767 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001795/0.5258, allocations: 39.66 kB / 0.5768 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.5258, allocations: 0 / 0.5768 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.986e-05/0.5259, allocations: 5.312 kB / 0.5768 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.786e-05/0.526, allocations: 10.31 kB / 0.5768 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.5261, allocations: 19.91 kB / 0.5768 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.5265, allocations: 455.3 kB / 0.5772 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.5266, allocations: 3.281 kB / 0.5772 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.5267, allocations: 154.8 kB / 0.5774 GB, free: 40.87 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.5269, allocations: 147.4 kB / 0.5775 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.527, allocations: 23.19 kB / 0.5775 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.042e-05/0.527, allocations: 22.09 kB / 0.5776 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.5271, allocations: 127.8 kB / 0.5777 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.5273, allocations: 171.1 kB / 0.5778 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.5275, allocations: 231.9 kB / 0.5781 GB, free: 40.44 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5275, allocations: 0 / 0.5781 GB, free: 40.44 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5275, allocations: 4 kB / 0.5781 GB, free: 40.44 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.5275, allocations: 1.375 kB / 0.5781 GB, free: 40.44 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001358/0.5289, allocations: 0.7172 MB / 0.5788 GB, free: 39.89 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.5289, allocations: 13.62 kB / 0.5788 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.529, allocations: 23.88 kB / 0.5788 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.5292, allocations: 242.7 kB / 0.579 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.5292, allocations: 31.66 kB / 0.5791 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.44e-05/0.5293, allocations: 55.53 kB / 0.5791 GB, free: 39.6 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.5299, allocations: 328.2 kB / 0.5794 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.5299, allocations: 16.67 kB / 0.5795 GB, free: 39.4 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.5299, allocations: 13.78 kB / 0.5795 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.53, allocations: 5.531 kB / 0.5795 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.5303, allocations: 212.8 kB / 0.5797 GB, free: 39.3 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.5309, allocations: 482.7 kB / 0.5801 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007949/0.5317, allocations: 498.6 kB / 0.5806 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.532, allocations: 242.1 kB / 0.5808 GB, free: 38.59 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.532, allocations: 10.81 kB / 0.5809 GB, free: 38.59 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.532, allocations: 37.66 kB / 0.5809 GB, free: 38.54 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.844e-06/0.532, allocations: 0 / 0.5809 GB, free: 38.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003671/0.5357, allocations: 1.248 MB / 0.5821 GB, free: 37.87 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.5358, allocations: 62.31 kB / 0.5822 GB, free: 37.8 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.5358, allocations: 117.3 kB / 0.5823 GB, free: 37.69 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.5359, allocations: 41.48 kB / 0.5823 GB, free: 37.64 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.5359, allocations: 87.98 kB / 0.5824 GB, free: 37.55 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.5361, allocations: 252.3 kB / 0.5826 GB, free: 37.33 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.5362, allocations: 83.83 kB / 0.5827 GB, free: 37.28 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.901e-05/0.5362, allocations: 348.9 kB / 0.5831 GB, free: 36.94 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.5366, allocations: 252.7 kB / 0.5833 GB, free: 36.84 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.5371, allocations: 426.4 kB / 0.5837 GB, free: 36.53 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008323/0.5379, allocations: 0.723 MB / 0.5844 GB, free: 36.07 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5379, allocations: 1.125 kB / 0.5844 GB, free: 36.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001858/0.5398, allocations: 1.013 MB / 0.5854 GB, free: 35.58 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.5398, allocations: 9.938 kB / 0.5854 GB, free: 35.58 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5398, allocations: 9.234 kB / 0.5854 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.541, allocations: 298.6 kB / 0.5857 GB, free: 35.44 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.5415, allocations: 168.3 kB / 0.5859 GB, free: 35.41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/0.5449, allocations: 2.892 MB / 0.5887 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.5452, allocations: 51.44 kB / 0.5887 GB, free: 32.52 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.5453, allocations: 32.06 kB / 0.5888 GB, free: 32.48 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.5455, allocations: 177.6 kB / 0.5889 GB, free: 32.3 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.5455, allocations: 35.53 kB / 0.589 GB, free: 32.27 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.5457, allocations: 58.06 kB / 0.589 GB, free: 32.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5457, allocations: 11.98 kB / 0.589 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/0.5457, allocations: 4 kB / 0.589 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5457, allocations: 3.984 kB / 0.589 GB, free: 32.19 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.5461, allocations: 461.5 kB / 0.5895 GB, free: 31.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5461, allocations: 4 kB / 0.5895 GB, free: 31.69 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006512/0.5468, allocations: 135.9 kB / 0.5896 GB, free: 31.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.5478, allocations: 291.6 kB / 0.5899 GB, free: 31.27 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.5479, allocations: 27.97 kB / 0.5899 GB, free: 31.24 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/0.551, allocations: 2.889 MB / 0.5927 GB, free: 28.22 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.551, allocations: 0 / 0.5927 GB, free: 28.22 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.5527, allocations: 1.132 MB / 0.5938 GB, free: 27.07 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.5528, allocations: 104.8 kB / 0.5939 GB, free: 26.95 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.5528, allocations: 23.98 kB / 0.594 GB, free: 26.93 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.553, allocations: 12 kB / 0.594 GB, free: 26.91 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.5531, allocations: 52.42 kB / 0.594 GB, free: 26.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.5532, allocations: 8 kB / 0.594 GB, free: 26.86 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.404e-05/0.5532, allocations: 83.28 kB / 0.5941 GB, free: 26.77 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5532, allocations: 0 / 0.5941 GB, free: 26.77 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004691/0.5537, allocations: 144 kB / 0.5943 GB, free: 26.63 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001395/0.5538, allocations: 139.7 kB / 0.5944 GB, free: 26.48 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.5553, allocations: 0.8875 MB / 0.5953 GB, free: 25.58 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5553, allocations: 0 / 0.5953 GB, free: 25.58 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009146/0.5562, allocations: 0.5597 MB / 0.5958 GB, free: 25.01 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.5565, allocations: 24.81 kB / 0.5958 GB, free: 24.99 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.5596, allocations: 3.51 MB / 0.5993 GB, free: 21.45 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.5598, allocations: 0.8013 MB / 0.6 GB, free: 20.62 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.5601, allocations: 151.1 kB / 0.6002 GB, free: 20.48 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.5602, allocations: 23.44 kB / 0.6002 GB, free: 20.45 MB / 462.3 MB Notification: Performance of SimCode: time 1.313e-06/0.5602, allocations: 0 / 0.6002 GB, free: 20.45 MB / 462.3 MB Notification: Performance of Templates: time 0.008474/0.5687, allocations: 5.03 MB / 0.6051 GB, free: 15.46 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches