Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_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.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 105.7 kB / 17.16 MB, free: 6.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.001292/0.001292, allocations: 202.8 kB / 18.08 MB, free: 5.422 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.329/1.329, allocations: 222.9 MB / 241.7 MB, free: 15.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.936/0.936, allocations: 119.3 MB / 411.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.89 kB / 0.4922 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5271/0.5283, allocations: 80.69 MB / 0.571 GB, free: 44.16 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002212/0.5306, allocations: 1.403 MB / 0.5724 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002069/0.5308, allocations: 57.38 kB / 0.5724 GB, free: 43.01 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.5309, allocations: 1.406 kB / 0.5724 GB, free: 43.01 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.531, allocations: 11.92 kB / 0.5725 GB, free: 43 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.156e-05/0.5311, allocations: 16.09 kB / 0.5725 GB, free: 42.99 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.5312, allocations: 16.33 kB / 0.5725 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.5316, allocations: 374 kB / 0.5728 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.192e-05/0.5316, allocations: 3.844 kB / 0.5729 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.5317, allocations: 127.8 kB / 0.573 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.532, allocations: 190.8 kB / 0.5732 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.532, allocations: 17.25 kB / 0.5732 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.857e-05/0.5321, allocations: 18.28 kB / 0.5732 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.5322, allocations: 130.6 kB / 0.5733 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.5324, allocations: 148.7 kB / 0.5735 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.5326, allocations: 174.3 kB / 0.5736 GB, free: 42.36 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5326, allocations: 4 kB / 0.5736 GB, free: 42.36 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5326, allocations: 0 / 0.5736 GB, free: 42.36 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.5326, allocations: 0 / 0.5736 GB, free: 42.36 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001458/0.5341, allocations: 0.7318 MB / 0.5743 GB, free: 41.79 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.5341, allocations: 8.906 kB / 0.5743 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.715e-05/0.5342, allocations: 31.12 kB / 0.5744 GB, free: 41.77 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.5345, allocations: 251 kB / 0.5746 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.5345, allocations: 35.81 kB / 0.5747 GB, free: 41.51 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.593e-05/0.5346, allocations: 56.19 kB / 0.5747 GB, free: 41.49 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005492/0.5351, allocations: 344.4 kB / 0.575 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.5352, allocations: 192 / 0.575 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.5352, allocations: 14.78 kB / 0.575 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.5352, allocations: 5.688 kB / 0.5751 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.5356, allocations: 209.3 kB / 0.5753 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.5375, allocations: 1 MB / 0.5762 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/0.5413, allocations: 1.214 MB / 0.5774 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.5416, allocations: 189.9 kB / 0.5776 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.5416, allocations: 8.594 kB / 0.5776 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.5417, allocations: 45 kB / 0.5776 GB, free: 39.89 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 1.923e-06/0.5417, allocations: 0 / 0.5776 GB, free: 39.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.001052/0.5427, allocations: 0.5674 MB / 0.5782 GB, free: 39.62 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.5428, allocations: 55.09 kB / 0.5783 GB, free: 39.56 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.5429, allocations: 133.5 kB / 0.5784 GB, free: 39.44 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.5429, allocations: 36.39 kB / 0.5784 GB, free: 39.4 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.5429, allocations: 117.8 kB / 0.5785 GB, free: 39.29 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.5431, allocations: 197.4 kB / 0.5787 GB, free: 39.11 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.5432, allocations: 127.1 kB / 0.5788 GB, free: 39.04 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7e-05/0.5433, allocations: 339.7 kB / 0.5792 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.5436, allocations: 223.4 kB / 0.5794 GB, free: 38.61 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.544, allocations: 235.7 kB / 0.5796 GB, free: 38.5 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006504/0.5446, allocations: 0.4906 MB / 0.5801 GB, free: 38.28 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5446, allocations: 0 / 0.5801 GB, free: 38.28 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008745/0.5455, allocations: 0.6245 MB / 0.5807 GB, free: 37.99 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.5455, allocations: 5.062 kB / 0.5807 GB, free: 37.99 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5456, allocations: 9.188 kB / 0.5807 GB, free: 37.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5456, allocations: 2.5 kB / 0.5807 GB, free: 37.98 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000857/0.5464, allocations: 229 kB / 0.5809 GB, free: 37.93 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.5465, allocations: 2.781 kB / 0.5809 GB, free: 37.93 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.5467, allocations: 59.19 kB / 0.581 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.5468, allocations: 21.81 kB / 0.581 GB, free: 37.88 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (82): * Single equations (assignments): 82 * 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.0001433/0.5469, allocations: 158 kB / 0.5812 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-05/0.547, allocations: 21.88 kB / 0.5812 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.5471, allocations: 47.78 kB / 0.5812 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5471, allocations: 3.844 kB / 0.5812 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.5471, allocations: 5.203 kB / 0.5812 GB, free: 37.67 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.5471, allocations: 3.984 kB / 0.5812 GB, free: 37.67 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.5475, allocations: 391.4 kB / 0.5816 GB, free: 37.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5476, allocations: 9 kB / 0.5816 GB, free: 37.34 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.5488, allocations: 221.8 kB / 0.5818 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.5488, allocations: 2.656 kB / 0.5818 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.5489, allocations: 28.81 kB / 0.5819 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5489, allocations: 1.656 kB / 0.5819 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5489, allocations: 0 / 0.5819 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009205/0.5498, allocations: 0.6911 MB / 0.5825 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.5499, allocations: 103.4 kB / 0.5826 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.5499, allocations: 31.88 kB / 0.5827 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.5502, allocations: 20.78 kB / 0.5827 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.5503, allocations: 24.09 kB / 0.5827 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.5503, allocations: 16.73 kB / 0.5827 GB, free: 36.75 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.052e-05/0.5504, allocations: 101.3 kB / 0.5828 GB, free: 36.66 MB / 462.3 MB Notification: Performance of sort global known variables: time 6.91e-07/0.5504, allocations: 0 / 0.5828 GB, free: 36.66 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003783/0.5508, allocations: 123.4 kB / 0.5829 GB, free: 36.63 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[9],cur_x[10],cur_x[11],cur_x[12],cur_x[13],cur_x[14],cur_x[15],cur_x[16],cur_x[17],cur_x[18],cur_x[19],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vol[11],vol[12],vol[13],vol[14],vol[15],vol[16],vol[17],vol[18],vol[19],vol[20],vvol) * 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 (42): * Single equations (assignments): 42 * 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 Backend phase and start with SimCode phase: time 0.0001353/0.5509, allocations: 125.5 kB / 0.5831 GB, free: 36.52 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007327/0.5516, allocations: 497.8 kB / 0.5835 GB, free: 36.32 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5517, allocations: 0 / 0.5835 GB, free: 36.32 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.552, allocations: 220.1 kB / 0.5837 GB, free: 36.23 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.5523, allocations: 24.64 kB / 0.5838 GB, free: 36.21 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.5552, allocations: 2.839 MB / 0.5865 GB, free: 33.64 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.5554, allocations: 0.8046 MB / 0.5873 GB, free: 32.81 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.5556, allocations: 31.44 kB / 0.5874 GB, free: 32.78 MB / 462.3 MB Notification: Performance of SimCode: time 3.51e-07/0.5556, allocations: 0 / 0.5874 GB, free: 32.78 MB / 462.3 MB Notification: Performance of Templates: time 0.004852/0.5605, allocations: 4.464 MB / 0.5917 GB, free: 28.33 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches