Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.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_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.2.|cur.3.|cur.40.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.40..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.2.|vol.3.|vol.40.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.2.|cur.3.|cur.40.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.40..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.2.|vol.3.|vol.40.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 91.02 kB / 16.31 MB, free: 5.66 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.001487/0.001487, allocations: 182.7 kB / 17.21 MB, free: 5.574 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.746/1.746, allocations: 223.3 MB / 241.2 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.093/1.093, allocations: 120.4 MB / 412.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003852, allocations: 8 kB / 0.4956 GB, free: 9.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1996, allocations: 82.85 MB / 0.5765 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.001781/0.2014, allocations: 1.041 MB / 0.5775 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002941/0.2018, allocations: 64.06 kB / 0.5775 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.851e-05/0.2018, allocations: 0 / 0.5775 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.202, allocations: 0 / 0.5775 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.2021, allocations: 15.91 kB / 0.5776 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.2023, allocations: 31.91 kB / 0.5776 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006636/0.2029, allocations: 0.5654 MB / 0.5781 GB, free: 5.078 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.203, allocations: 11.92 kB / 0.5781 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.2035, allocations: 243.7 kB / 0.5784 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/0.2042, allocations: 347.5 kB / 0.5787 GB, free: 4.488 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.2044, allocations: 43.94 kB / 0.5788 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.2045, allocations: 36 kB / 0.5788 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.2048, allocations: 287.4 kB / 0.5791 GB, free: 4.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.205, allocations: 101.5 kB / 0.5792 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.2055, allocations: 335.2 kB / 0.5795 GB, free: 3.695 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2055, allocations: 0 / 0.5795 GB, free: 3.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.2055, allocations: 0 / 0.5795 GB, free: 3.695 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.2055, allocations: 0 / 0.5795 GB, free: 3.695 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002797/0.2083, allocations: 1.058 MB / 0.5805 GB, free: 2.586 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2084, allocations: 8.031 kB / 0.5805 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.2086, allocations: 59.48 kB / 0.5806 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.2092, allocations: 322.3 kB / 0.5809 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.065e-05/0.2092, allocations: 57 kB / 0.5809 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/0.2095, allocations: 115.7 kB / 0.581 GB, free: 1.992 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.2108, allocations: 0.6504 MB / 0.5817 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.2108, allocations: 0 / 0.5817 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.984e-05/0.2108, allocations: 20 kB / 0.5817 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.2109, allocations: 12 kB / 0.5817 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007475/0.2116, allocations: 399.7 kB / 0.5821 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6467/0.8584, allocations: 1.835 MB / 0.5839 GB, free: 15.61 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008316/0.8667, allocations: 2.506 MB / 0.5863 GB, free: 15.54 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007426/0.8675, allocations: 366 kB / 0.5867 GB, free: 15.53 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.376e-05/0.8676, allocations: 9.562 kB / 0.5867 GB, free: 15.53 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.8677, allocations: 45 kB / 0.5867 GB, free: 15.49 MB / 446.3 MB Notification: Performance of pre-optimization done (n=82): time 3.687e-06/0.8677, allocations: 0 / 0.5867 GB, free: 15.49 MB / 446.3 MB Notification: Performance of matching and sorting (n=82): time 0.00257/0.8702, allocations: 1.116 MB / 0.5878 GB, free: 15.3 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.8703, allocations: 60.78 kB / 0.5879 GB, free: 15.23 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.8705, allocations: 146.8 kB / 0.588 GB, free: 15.11 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 6.064e-05/0.8705, allocations: 51.11 kB / 0.5881 GB, free: 15.06 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.993e-05/0.8706, allocations: 151 kB / 0.5882 GB, free: 14.95 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.8709, allocations: 379.6 kB / 0.5886 GB, free: 14.66 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.871, allocations: 30.12 kB / 0.5886 GB, free: 14.63 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.8711, allocations: 370.5 kB / 0.589 GB, free: 14.3 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008137/0.872, allocations: 439.7 kB / 0.5894 GB, free: 14.19 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008346/0.8728, allocations: 462.8 kB / 0.5898 GB, free: 14.06 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/0.8737, allocations: 0.5128 MB / 0.5903 GB, free: 13.89 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8737, allocations: 0 / 0.5903 GB, free: 13.89 MB / 446.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002015/0.8758, allocations: 1.2 MB / 0.5915 GB, free: 13.5 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.8758, allocations: 6.047 kB / 0.5915 GB, free: 13.5 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.8758, allocations: 0 / 0.5915 GB, free: 13.5 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.8758, allocations: 9.969 kB / 0.5915 GB, free: 13.5 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.8776, allocations: 445.8 kB / 0.5919 GB, free: 13.47 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.8776, allocations: 9.312 kB / 0.5919 GB, free: 13.47 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.878, allocations: 121.7 kB / 0.5921 GB, free: 13.39 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.8781, allocations: 34.61 kB / 0.5921 GB, free: 13.39 MB / 446.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 (162): * Single equations (assignments): 162 * 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.0002387/0.8783, allocations: 213.4 kB / 0.5923 GB, free: 13.23 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.8784, allocations: 31.34 kB / 0.5923 GB, free: 13.22 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.8787, allocations: 93.12 kB / 0.5924 GB, free: 13.13 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.8787, allocations: 9.188 kB / 0.5924 GB, free: 13.13 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/0.8787, allocations: 3.953 kB / 0.5924 GB, free: 13.13 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.8788, allocations: 5.234 kB / 0.5924 GB, free: 13.13 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008911/0.8797, allocations: 0.6143 MB / 0.593 GB, free: 12.82 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.8797, allocations: 8.734 kB / 0.593 GB, free: 12.81 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002302/0.882, allocations: 442 kB / 0.5935 GB, free: 12.79 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.882, allocations: 7.688 kB / 0.5935 GB, free: 12.78 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.8821, allocations: 52.8 kB / 0.5935 GB, free: 12.77 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.8821, allocations: 2 kB / 0.5935 GB, free: 12.77 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8821, allocations: 5.031 kB / 0.5935 GB, free: 12.77 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.8843, allocations: 1.273 MB / 0.5948 GB, free: 12.28 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.8843, allocations: 116.1 kB / 0.5949 GB, free: 12.16 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.8845, allocations: 42.69 kB / 0.5949 GB, free: 12.15 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/0.8849, allocations: 53 kB / 0.595 GB, free: 12.13 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.8851, allocations: 48.41 kB / 0.595 GB, free: 12.12 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.8852, allocations: 27.25 kB / 0.595 GB, free: 12.12 MB / 446.3 MB Notification: Performance of sorting global known variables: time 7.543e-05/0.8853, allocations: 100.4 kB / 0.5951 GB, free: 12.03 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8853, allocations: 0 / 0.5951 GB, free: 12.03 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0006391/0.8859, allocations: 234.5 kB / 0.5954 GB, free: 11.98 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (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],cur_x[20],cur_x[21],cur_x[22],cur_x[23],cur_x[24],cur_x[25],cur_x[26],cur_x[27],cur_x[28],cur_x[29],cur_x[30],cur_x[31],cur_x[32],cur_x[33],cur_x[34],cur_x[35],cur_x[36],cur_x[37],cur_x[38],cur_x[39],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],vol[21],vol[22],vol[23],vol[24],vol[25],vol[26],vol[27],vol[28],vol[29],vol[30],vol[31],vol[32],vol[33],vol[34],vol[35],vol[36],vol[37],vol[38],vol[39],vol[40],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 (82): * Single equations (assignments): 82 * 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.0002385/0.8862, allocations: 165 kB / 0.5955 GB, free: 11.86 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.8881, allocations: 0.9626 MB / 0.5965 GB, free: 11.62 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8881, allocations: 5.25 kB / 0.5965 GB, free: 11.61 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007295/0.8888, allocations: 447.3 kB / 0.5969 GB, free: 11.48 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.8892, allocations: 31.06 kB / 0.5969 GB, free: 11.46 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007721/0.8969, allocations: 6.529 MB / 0.6033 GB, free: 6.832 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.8975, allocations: 0.9079 MB / 0.6042 GB, free: 6.121 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.001062/0.8986, allocations: 316.5 kB / 0.6045 GB, free: 6.07 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.8989, allocations: 44.16 kB / 0.6045 GB, free: 6.066 MB / 446.3 MB Notification: Performance of SimCode: time 1.973e-06/0.8989, allocations: 4 kB / 0.6045 GB, free: 6.062 MB / 446.3 MB Notification: Performance of Templates: time 0.01406/0.913, allocations: 5.414 MB / 0.6098 GB, free: 3.516 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches