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.001129/0.001129, allocations: 111.5 kB / 16.51 MB, free: 6.707 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.001075/0.001076, allocations: 193.9 kB / 17.43 MB, free: 6.062 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.047/1.047, allocations: 119.3 MB / 410.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.91 kB / 0.4916 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6326/0.634, allocations: 80.68 MB / 0.5704 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002482/0.6366, allocations: 1.403 MB / 0.5718 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002222/0.6368, allocations: 53.62 kB / 0.5718 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.6368, allocations: 5.469 kB / 0.5718 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.637, allocations: 0 / 0.5718 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.92e-05/0.6371, allocations: 28.28 kB / 0.5718 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.6372, allocations: 24.2 kB / 0.5719 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.6376, allocations: 357.4 kB / 0.5722 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.946e-05/0.6377, allocations: 7.188 kB / 0.5722 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.6378, allocations: 131.3 kB / 0.5723 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.6381, allocations: 186.4 kB / 0.5725 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.026e-05/0.6382, allocations: 18.41 kB / 0.5725 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.256e-05/0.6383, allocations: 17.56 kB / 0.5725 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.6384, allocations: 142.5 kB / 0.5727 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.6386, allocations: 152 kB / 0.5728 GB, free: 42.17 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.6389, allocations: 246.8 kB / 0.5731 GB, free: 42.03 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6389, allocations: 0 / 0.5731 GB, free: 42.03 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.92e-07/0.6389, allocations: 0 / 0.5731 GB, free: 42.03 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.6389, allocations: 0 / 0.5731 GB, free: 42.03 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.001651/0.6406, allocations: 0.723 MB / 0.5738 GB, free: 41.47 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.6406, allocations: 9.281 kB / 0.5738 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.031e-05/0.6407, allocations: 31.47 kB / 0.5738 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.641, allocations: 251.4 kB / 0.574 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.6411, allocations: 31.38 kB / 0.5741 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.6412, allocations: 52.19 kB / 0.5741 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.6418, allocations: 352.3 kB / 0.5745 GB, free: 40.97 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.6418, allocations: 1.188 kB / 0.5745 GB, free: 40.97 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.6419, allocations: 14.25 kB / 0.5745 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.6419, allocations: 6 kB / 0.5745 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.6423, allocations: 209.1 kB / 0.5747 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.6444, allocations: 1.001 MB / 0.5757 GB, free: 40.22 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004018/0.6484, allocations: 1.213 MB / 0.5768 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.6487, allocations: 193.6 kB / 0.577 GB, free: 39.63 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.6488, allocations: 4.625 kB / 0.577 GB, free: 39.63 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.6488, allocations: 41.06 kB / 0.5771 GB, free: 39.59 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 2.094e-06/0.6488, allocations: 0.9062 kB / 0.5771 GB, free: 39.59 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.001158/0.65, allocations: 0.5708 MB / 0.5776 GB, free: 39.31 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.65, allocations: 55.09 kB / 0.5777 GB, free: 39.25 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.6501, allocations: 132.2 kB / 0.5778 GB, free: 39.12 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.6502, allocations: 40.45 kB / 0.5778 GB, free: 39.08 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.6503, allocations: 121.5 kB / 0.578 GB, free: 38.96 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.6504, allocations: 195.3 kB / 0.5781 GB, free: 38.79 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.6506, allocations: 122.5 kB / 0.5783 GB, free: 38.72 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.6507, allocations: 343.6 kB / 0.5786 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.651, allocations: 227.1 kB / 0.5788 GB, free: 38.29 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.6514, allocations: 233.1 kB / 0.579 GB, free: 38.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/0.6522, allocations: 0.4933 MB / 0.5795 GB, free: 37.95 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6522, allocations: 0 / 0.5795 GB, free: 37.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009824/0.6532, allocations: 0.6327 MB / 0.5801 GB, free: 37.66 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.6532, allocations: 5.844 kB / 0.5801 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6532, allocations: 1.25 kB / 0.5801 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.6532, allocations: 2.531 kB / 0.5801 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/0.6541, allocations: 224.9 kB / 0.5804 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.6542, allocations: 3.781 kB / 0.5804 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.6544, allocations: 62.62 kB / 0.5804 GB, free: 37.56 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.6545, allocations: 17.91 kB / 0.5804 GB, free: 37.55 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.0001641/0.6546, allocations: 157.5 kB / 0.5806 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.6547, allocations: 21.91 kB / 0.5806 GB, free: 37.4 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.6548, allocations: 51.81 kB / 0.5807 GB, free: 37.35 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.6548, allocations: 4.594 kB / 0.5807 GB, free: 37.35 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.6549, allocations: 3.984 kB / 0.5807 GB, free: 37.35 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6549, allocations: 4.938 kB / 0.5807 GB, free: 37.34 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.6554, allocations: 390.9 kB / 0.581 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.6554, allocations: 4.844 kB / 0.581 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.6567, allocations: 223 kB / 0.5813 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.6567, allocations: 1.031 kB / 0.5813 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.22e-05/0.6568, allocations: 25.22 kB / 0.5813 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.6568, allocations: 1.094 kB / 0.5813 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6568, allocations: 0.9688 kB / 0.5813 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.6579, allocations: 0.6981 MB / 0.582 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.6579, allocations: 107.5 kB / 0.5821 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/0.658, allocations: 20.27 kB / 0.5821 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.6583, allocations: 24.44 kB / 0.5821 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.6584, allocations: 28.83 kB / 0.5821 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.6584, allocations: 11.94 kB / 0.5821 GB, free: 36.43 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.198e-05/0.6585, allocations: 97.45 kB / 0.5822 GB, free: 36.34 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6585, allocations: 0 / 0.5822 GB, free: 36.34 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004101/0.6589, allocations: 119.7 kB / 0.5824 GB, free: 36.32 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.0001665/0.6591, allocations: 125.7 kB / 0.5825 GB, free: 36.21 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000826/0.6599, allocations: 0.4934 MB / 0.583 GB, free: 36 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6599, allocations: 0 / 0.583 GB, free: 36 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.6603, allocations: 224.4 kB / 0.5832 GB, free: 35.91 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.6606, allocations: 24.94 kB / 0.5832 GB, free: 35.89 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.6638, allocations: 2.804 MB / 0.5859 GB, free: 33.46 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.664, allocations: 0.8008 MB / 0.5867 GB, free: 32.63 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003312/0.6643, allocations: 158.8 kB / 0.5869 GB, free: 32.47 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.6644, allocations: 27.44 kB / 0.5869 GB, free: 32.45 MB / 462.3 MB Notification: Performance of SimCode: time 7.91e-07/0.6644, allocations: 0 / 0.5869 GB, free: 32.45 MB / 462.3 MB Notification: Performance of Templates: time 0.005782/0.6702, allocations: 3.015 MB / 0.5898 GB, free: 29.47 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