Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.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_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|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.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|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.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 84.81 kB / 16.31 MB, free: 6.449 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.001095/0.001095, allocations: 180.6 kB / 17.21 MB, free: 6.32 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.493/1.493, allocations: 223.3 MB / 241.2 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8797/0.8797, allocations: 120.5 MB / 412.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 8 kB / 0.4956 GB, free: 9.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1698, allocations: 82.85 MB / 0.5765 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.001298/0.1712, allocations: 1.041 MB / 0.5775 GB, free: 5.711 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001991/0.1714, allocations: 55.81 kB / 0.5775 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.1714, allocations: 0 / 0.5775 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.332e-05/0.1715, allocations: 0 / 0.5775 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.495e-05/0.1716, allocations: 27.83 kB / 0.5776 GB, free: 5.629 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.1718, allocations: 15.98 kB / 0.5776 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.172, allocations: 187.6 kB / 0.5778 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.172, allocations: 4.281 kB / 0.5778 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.1721, allocations: 67.89 kB / 0.5778 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1723, allocations: 111.7 kB / 0.5779 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.1723, allocations: 8 kB / 0.5779 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.977e-05/0.1724, allocations: 12 kB / 0.578 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.214e-05/0.1725, allocations: 75.83 kB / 0.578 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.1725, allocations: 45.64 kB / 0.5781 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.1726, allocations: 91.73 kB / 0.5782 GB, free: 5.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1726, allocations: 0 / 0.5782 GB, free: 5.016 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1726, allocations: 0 / 0.5782 GB, free: 5.016 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1727, allocations: 4 kB / 0.5782 GB, free: 5.012 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009002/0.1736, allocations: 0.495 MB / 0.5786 GB, free: 4.469 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1736, allocations: 8.031 kB / 0.5787 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.1737, allocations: 19.77 kB / 0.5787 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1739, allocations: 210.8 kB / 0.5789 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.1739, allocations: 20 kB / 0.5789 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.174, allocations: 27.98 kB / 0.5789 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.1743, allocations: 182.1 kB / 0.5791 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1743, allocations: 0 / 0.5791 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.1744, allocations: 4 kB / 0.5791 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1744, allocations: 7.953 kB / 0.5791 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.1746, allocations: 119.8 kB / 0.5792 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.1758, allocations: 0.6214 MB / 0.5798 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.1776, allocations: 0.5789 MB / 0.5804 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.1778, allocations: 93.19 kB / 0.5805 GB, free: 2.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1778, allocations: 4.188 kB / 0.5805 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.551e-05/0.1779, allocations: 38.73 kB / 0.5805 GB, free: 2.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.1779, allocations: 0 / 0.5805 GB, free: 2.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006336/0.1786, allocations: 311.5 kB / 0.5808 GB, free: 2.121 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.1786, allocations: 59.34 kB / 0.5809 GB, free: 2.051 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1787, allocations: 121.8 kB / 0.581 GB, free: 1.922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1788, allocations: 37.7 kB / 0.581 GB, free: 1.879 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.1788, allocations: 100.6 kB / 0.5811 GB, free: 1.773 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/0.1789, allocations: 102.5 kB / 0.5812 GB, free: 1.672 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/0.1789, allocations: 8 kB / 0.5812 GB, free: 1.664 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.179, allocations: 330.8 kB / 0.5815 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.1792, allocations: 107.9 kB / 0.5816 GB, free: 1.227 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.1794, allocations: 111.9 kB / 0.5818 GB, free: 1.117 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.1797, allocations: 140.2 kB / 0.5819 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1797, allocations: 0 / 0.5819 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000483/0.1802, allocations: 333.1 kB / 0.5822 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1802, allocations: 4 kB / 0.5822 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1802, allocations: 0 / 0.5822 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1802, allocations: 0 / 0.5822 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.1807, allocations: 115.9 kB / 0.5823 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1807, allocations: 3.938 kB / 0.5823 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.1808, allocations: 27.73 kB / 0.5823 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.1809, allocations: 12 kB / 0.5824 GB, free: 500 kB / 446.1 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.181, allocations: 141.7 kB / 0.5825 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.181, allocations: 12.28 kB / 0.5825 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.513e-05/0.1811, allocations: 32.83 kB / 0.5825 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1811, allocations: 4 kB / 0.5825 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1812, allocations: 0 / 0.5825 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1812, allocations: 3.938 kB / 0.5825 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4729/0.6541, allocations: 275.3 kB / 0.5828 GB, free: 16.46 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6541, allocations: 0 / 0.5828 GB, free: 16.46 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007596/0.6549, allocations: 109.5 kB / 0.5829 GB, free: 16.46 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.6549, allocations: 1.656 kB / 0.5829 GB, free: 16.46 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.655, allocations: 14.59 kB / 0.5829 GB, free: 16.46 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.655, allocations: 0.6875 kB / 0.5829 GB, free: 16.46 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.655, allocations: 3.812 kB / 0.5829 GB, free: 16.46 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.6557, allocations: 431.8 kB / 0.5833 GB, free: 16.33 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.6557, allocations: 89.77 kB / 0.5834 GB, free: 16.24 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.6558, allocations: 11.78 kB / 0.5834 GB, free: 16.24 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.6559, allocations: 14.59 kB / 0.5835 GB, free: 16.24 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.656, allocations: 14.17 kB / 0.5835 GB, free: 16.24 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.656, allocations: 6.406 kB / 0.5835 GB, free: 16.24 MB / 446.3 MB Notification: Performance of sorting global known variables: time 4.635e-05/0.6561, allocations: 93.25 kB / 0.5836 GB, free: 16.16 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6561, allocations: 1.969 kB / 0.5836 GB, free: 16.16 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003151/0.6564, allocations: 59.12 kB / 0.5836 GB, free: 16.16 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001186/0.6565, allocations: 113.5 kB / 0.5837 GB, free: 16.07 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0004861/0.657, allocations: 252.5 kB / 0.584 GB, free: 16.07 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.657, allocations: 0 / 0.584 GB, free: 16.07 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.6572, allocations: 111.6 kB / 0.5841 GB, free: 16.07 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.6575, allocations: 15.61 kB / 0.5841 GB, free: 16.07 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.6594, allocations: 1.728 MB / 0.5858 GB, free: 14.91 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.6596, allocations: 0.7359 MB / 0.5865 GB, free: 14.21 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.6598, allocations: 74.34 kB / 0.5866 GB, free: 14.21 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.6599, allocations: 17.62 kB / 0.5866 GB, free: 14.2 MB / 446.3 MB Notification: Performance of SimCode: time 2.2e-07/0.6599, allocations: 4 kB / 0.5866 GB, free: 14.2 MB / 446.3 MB Notification: Performance of Templates: time 0.004708/0.6646, allocations: 1.616 MB / 0.5882 GB, free: 14.11 MB / 446.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches