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.0009043/0.0009045, allocations: 94.89 kB / 17.31 MB, free: 6 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.0008752/0.0008754, allocations: 181.5 kB / 18.22 MB, free: 5.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.469/1.469, allocations: 223.3 MB / 242.3 MB, free: 172 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.191/1.191, allocations: 120.5 MB / 413.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 8 kB / 0.4969 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.7181, allocations: 82.83 MB / 0.5778 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.001359/0.7195, allocations: 1.066 MB / 0.5788 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000235/0.7198, allocations: 64.48 kB / 0.5789 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.7198, allocations: 0 / 0.5789 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.7199, allocations: 7.938 kB / 0.5789 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.955e-05/0.7201, allocations: 20.03 kB / 0.5789 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.7202, allocations: 16.09 kB / 0.5789 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.7206, allocations: 366.1 kB / 0.5793 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.147e-05/0.7207, allocations: 8.125 kB / 0.5793 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.7208, allocations: 124.7 kB / 0.5794 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.7211, allocations: 185.8 kB / 0.5796 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.7212, allocations: 18.69 kB / 0.5796 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.582e-05/0.7212, allocations: 17.28 kB / 0.5796 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.7214, allocations: 142.9 kB / 0.5797 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.7216, allocations: 174 kB / 0.5799 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.7218, allocations: 165.8 kB / 0.5801 GB, free: 40.78 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7218, allocations: 3.938 kB / 0.5801 GB, free: 40.78 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7218, allocations: 3.938 kB / 0.5801 GB, free: 40.77 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.7218, allocations: 0.9375 kB / 0.5801 GB, free: 40.77 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.001495/0.7233, allocations: 0.6828 MB / 0.5807 GB, free: 40.23 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.7234, allocations: 9.219 kB / 0.5807 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.272e-05/0.7235, allocations: 31.14 kB / 0.5808 GB, free: 40.22 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.7238, allocations: 246.6 kB / 0.581 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.7238, allocations: 32.62 kB / 0.581 GB, free: 39.97 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.7239, allocations: 59.5 kB / 0.5811 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/0.7245, allocations: 346.5 kB / 0.5814 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.7246, allocations: 192 / 0.5814 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.7246, allocations: 15.09 kB / 0.5814 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.7246, allocations: 7.859 kB / 0.5815 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.725, allocations: 209.3 kB / 0.5817 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.7271, allocations: 1.02 MB / 0.5826 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003923/0.731, allocations: 1.213 MB / 0.5838 GB, free: 38.5 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.7314, allocations: 195 kB / 0.584 GB, free: 38.4 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.7314, allocations: 3.25 kB / 0.584 GB, free: 38.4 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.7314, allocations: 41.25 kB / 0.5841 GB, free: 38.35 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 3.026e-06/0.7314, allocations: 5.047 kB / 0.5841 GB, free: 38.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.001147/0.7326, allocations: 0.5668 MB / 0.5846 GB, free: 38.08 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.7326, allocations: 59.69 kB / 0.5847 GB, free: 38.02 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.7328, allocations: 128.1 kB / 0.5848 GB, free: 37.9 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.7328, allocations: 40.8 kB / 0.5848 GB, free: 37.86 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.7329, allocations: 116.9 kB / 0.5849 GB, free: 37.74 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.733, allocations: 195.4 kB / 0.5851 GB, free: 37.57 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.834e-05/0.7331, allocations: 74.48 kB / 0.5852 GB, free: 37.52 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.7332, allocations: 344 kB / 0.5855 GB, free: 37.18 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.7335, allocations: 227.4 kB / 0.5858 GB, free: 37.08 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.7339, allocations: 232.2 kB / 0.586 GB, free: 36.98 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.7346, allocations: 0.4984 MB / 0.5865 GB, free: 36.75 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.7346, allocations: 0 / 0.5865 GB, free: 36.75 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000907/0.7356, allocations: 0.6279 MB / 0.5871 GB, free: 36.36 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.7356, allocations: 7.984 kB / 0.5871 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7356, allocations: 0 / 0.5871 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.7356, allocations: 4 kB / 0.5871 GB, free: 36.34 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008072/0.7364, allocations: 219.8 kB / 0.5873 GB, free: 36.13 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7365, allocations: 7.984 kB / 0.5873 GB, free: 36.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.7367, allocations: 67.41 kB / 0.5874 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.7368, allocations: 16 kB / 0.5874 GB, free: 36.04 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.0001354/0.7369, allocations: 157.7 kB / 0.5875 GB, free: 35.88 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.737, allocations: 23.75 kB / 0.5876 GB, free: 35.85 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.7371, allocations: 57.91 kB / 0.5876 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.7371, allocations: 4 kB / 0.5876 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.7372, allocations: 0 / 0.5876 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7372, allocations: 3.984 kB / 0.5876 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.7376, allocations: 389.2 kB / 0.588 GB, free: 35.36 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7376, allocations: 3.938 kB / 0.588 GB, free: 35.35 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.7387, allocations: 227.8 kB / 0.5882 GB, free: 35.13 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.7387, allocations: 0 / 0.5882 GB, free: 35.13 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.7387, allocations: 23.97 kB / 0.5882 GB, free: 35.11 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.7388, allocations: 4 kB / 0.5882 GB, free: 35.1 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7388, allocations: 0 / 0.5882 GB, free: 35.1 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008035/0.7396, allocations: 0.7025 MB / 0.5889 GB, free: 34.39 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.7396, allocations: 104.8 kB / 0.589 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.7397, allocations: 15.98 kB / 0.589 GB, free: 34.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.74, allocations: 27.97 kB / 0.5891 GB, free: 34.23 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.7401, allocations: 27.95 kB / 0.5891 GB, free: 34.2 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.7401, allocations: 12 kB / 0.5891 GB, free: 34.19 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.314e-05/0.7401, allocations: 95.2 kB / 0.5892 GB, free: 34.09 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.7401, allocations: 0 / 0.5892 GB, free: 34.09 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003304/0.7405, allocations: 119.8 kB / 0.5893 GB, free: 33.98 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.0001258/0.7406, allocations: 127.2 kB / 0.5894 GB, free: 33.84 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006183/0.7412, allocations: 499.4 kB / 0.5899 GB, free: 33.36 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7412, allocations: 0 / 0.5899 GB, free: 33.36 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.7415, allocations: 228 kB / 0.5901 GB, free: 33.13 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.7418, allocations: 23.94 kB / 0.5901 GB, free: 33.11 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.7449, allocations: 3.377 MB / 0.5934 GB, free: 29.68 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.7451, allocations: 0.8029 MB / 0.5942 GB, free: 28.85 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.7453, allocations: 27.44 kB / 0.5943 GB, free: 28.82 MB / 462.3 MB Notification: Performance of SimCode: time 8.62e-07/0.7453, allocations: 4 kB / 0.5943 GB, free: 28.82 MB / 462.3 MB Notification: Performance of Templates: time 0.00547/0.7508, allocations: 4.428 MB / 0.5986 GB, free: 24.41 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