Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001786/0.001786, allocations: 104.8 kB / 16.62 MB, free: 6.809 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.002022/0.002022, allocations: 193.9 kB / 17.55 MB, free: 5.949 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.308/1.308, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.097/1.097, allocations: 119.3 MB / 410.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001401, allocations: 59.91 kB / 0.4918 GB, free: 12.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7144/0.7158, allocations: 80.68 MB / 0.5706 GB, free: 43.85 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.002615/0.7185, allocations: 1.399 MB / 0.5719 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002566/0.7188, allocations: 60.06 kB / 0.572 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.7188, allocations: 3.938 kB / 0.572 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.7189, allocations: 7.922 kB / 0.572 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.7191, allocations: 16.12 kB / 0.572 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.7192, allocations: 12.08 kB / 0.572 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.7195, allocations: 200.5 kB / 0.5722 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.407e-05/0.7196, allocations: 8.453 kB / 0.5722 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.926e-05/0.7196, allocations: 72.64 kB / 0.5723 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.7198, allocations: 101.1 kB / 0.5724 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.7199, allocations: 10.5 kB / 0.5724 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.259e-05/0.7199, allocations: 8.656 kB / 0.5724 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.72, allocations: 78.36 kB / 0.5725 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.7201, allocations: 77.91 kB / 0.5726 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.7203, allocations: 134.1 kB / 0.5727 GB, free: 42.29 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7203, allocations: 3.938 kB / 0.5727 GB, free: 42.29 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7203, allocations: 1.188 kB / 0.5727 GB, free: 42.29 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.7203, allocations: 0 / 0.5727 GB, free: 42.29 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001058/0.7214, allocations: 0.5202 MB / 0.5732 GB, free: 41.83 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.7215, allocations: 12.2 kB / 0.5732 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.7215, allocations: 16.03 kB / 0.5732 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.7218, allocations: 217.3 kB / 0.5734 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.7218, allocations: 12.06 kB / 0.5735 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.528e-05/0.7219, allocations: 32.88 kB / 0.5735 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.7222, allocations: 183.2 kB / 0.5737 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.7222, allocations: 192 / 0.5737 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.7223, allocations: 13.47 kB / 0.5737 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.7223, allocations: 4.125 kB / 0.5737 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.7225, allocations: 108.3 kB / 0.5738 GB, free: 41.4 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.7237, allocations: 0.6019 MB / 0.5744 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.7256, allocations: 0.5797 MB / 0.5749 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.7258, allocations: 98.94 kB / 0.575 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.7258, allocations: 5.125 kB / 0.575 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.7259, allocations: 36.94 kB / 0.5751 GB, free: 40.61 MB / 462.3 MB Notification: Performance of pre-optimization done (n=22): time 1.253e-06/0.7259, allocations: 0 / 0.5751 GB, free: 40.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=22): time 0.000608/0.7265, allocations: 318.4 kB / 0.5754 GB, free: 40.45 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.7265, allocations: 58.06 kB / 0.5754 GB, free: 40.38 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.331e-05/0.7266, allocations: 121.8 kB / 0.5755 GB, free: 40.27 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.7267, allocations: 30.83 kB / 0.5756 GB, free: 40.23 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.7267, allocations: 105.5 kB / 0.5757 GB, free: 40.13 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.134e-05/0.7268, allocations: 98.66 kB / 0.5758 GB, free: 40.04 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.7269, allocations: 73.94 kB / 0.5758 GB, free: 39.99 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.727, allocations: 324.2 kB / 0.5762 GB, free: 39.67 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.7272, allocations: 119.5 kB / 0.5763 GB, free: 39.61 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.7274, allocations: 117.6 kB / 0.5764 GB, free: 39.56 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.7278, allocations: 256.6 kB / 0.5766 GB, free: 39.44 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.7278, allocations: 3.938 kB / 0.5766 GB, free: 39.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005113/0.7284, allocations: 335.7 kB / 0.5769 GB, free: 39.27 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.7284, allocations: 4.125 kB / 0.5769 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.7284, allocations: 1.375 kB / 0.577 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.7284, allocations: 1.375 kB / 0.577 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.7289, allocations: 115.9 kB / 0.5771 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.7289, allocations: 6.75 kB / 0.5771 GB, free: 39.24 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.7291, allocations: 30.64 kB / 0.5771 GB, free: 39.22 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.7291, allocations: 8.25 kB / 0.5771 GB, free: 39.22 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 (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 prepare postOptimizeDAE: time 9.898e-05/0.7292, allocations: 139.3 kB / 0.5772 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.7293, allocations: 18.53 kB / 0.5773 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.345e-05/0.7293, allocations: 26.19 kB / 0.5773 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.7293, allocations: 2.656 kB / 0.5773 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7293, allocations: 0 / 0.5773 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.7294, allocations: 5.297 kB / 0.5773 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.7297, allocations: 269.3 kB / 0.5775 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.7297, allocations: 1.031 kB / 0.5775 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/0.7304, allocations: 112.5 kB / 0.5777 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.7304, allocations: 2.219 kB / 0.5777 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.7304, allocations: 10.45 kB / 0.5777 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.7304, allocations: 0.9062 kB / 0.5777 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7304, allocations: 0 / 0.5777 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006555/0.7311, allocations: 438.4 kB / 0.5781 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.7311, allocations: 96.53 kB / 0.5782 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.7312, allocations: 10.47 kB / 0.5782 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.7314, allocations: 12.58 kB / 0.5782 GB, free: 38.37 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.7314, allocations: 14.44 kB / 0.5782 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.7315, allocations: 4.625 kB / 0.5782 GB, free: 38.36 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.655e-05/0.7315, allocations: 97.39 kB / 0.5783 GB, free: 38.27 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.7315, allocations: 0 / 0.5783 GB, free: 38.27 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003762/0.7319, allocations: 56.91 kB / 0.5784 GB, free: 38.27 MB / 462.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 (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.0001247/0.732, allocations: 134 kB / 0.5785 GB, free: 38.15 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005472/0.7326, allocations: 283.1 kB / 0.5788 GB, free: 38.05 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7326, allocations: 0 / 0.5788 GB, free: 38.05 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.7328, allocations: 115.4 kB / 0.5789 GB, free: 38 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.7331, allocations: 22.47 kB / 0.5789 GB, free: 37.98 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.7349, allocations: 1.466 MB / 0.5803 GB, free: 36.78 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.7351, allocations: 0.7361 MB / 0.581 GB, free: 36.06 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001821/0.7353, allocations: 73.66 kB / 0.5811 GB, free: 36.03 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.7354, allocations: 21.53 kB / 0.5811 GB, free: 36.02 MB / 462.3 MB Notification: Performance of SimCode: time 2.4e-07/0.7354, allocations: 0 / 0.5811 GB, free: 36.02 MB / 462.3 MB Notification: Performance of Templates: time 0.00467/0.7401, allocations: 1.723 MB / 0.5828 GB, free: 35.2 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches