Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.00117/0.00117, allocations: 108.4 kB / 17.74 MB, free: 5.188 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.001096/0.001096, allocations: 188.3 kB / 18.67 MB, free: 4.266 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.169/1.169, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7143/0.7143, allocations: 119.3 MB / 411.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 62.22 kB / 0.573 GB, free: 38.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1051, allocations: 80.69 MB / 0.6518 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.001967/0.1071, allocations: 1.361 MB / 0.6532 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001969/0.1074, allocations: 55.84 kB / 0.6532 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.1074, allocations: 0 / 0.6532 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.037e-05/0.1075, allocations: 7.938 kB / 0.6532 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 8.128e-05/0.1076, allocations: 19.84 kB / 0.6532 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.1077, allocations: 15.97 kB / 0.6533 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.1082, allocations: 0.6591 MB / 0.6539 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/0.1083, allocations: 15.97 kB / 0.6539 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.1085, allocations: 235.7 kB / 0.6541 GB, free: 9.18 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.109, allocations: 334 kB / 0.6545 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-05/0.1091, allocations: 32 kB / 0.6545 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.798e-05/0.1092, allocations: 36 kB / 0.6545 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.1094, allocations: 272 kB / 0.6548 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.1096, allocations: 282.9 kB / 0.6551 GB, free: 8.242 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.11, allocations: 486.4 kB / 0.6555 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.11, allocations: 0 / 0.6555 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.393e-06/0.11, allocations: 4 kB / 0.6555 GB, free: 7.762 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.11, allocations: 0 / 0.6555 GB, free: 7.762 MB / 0.4983 GB 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.002705/0.1128, allocations: 1.183 MB / 0.6567 GB, free: 6.523 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1128, allocations: 15.89 kB / 0.6567 GB, free: 6.508 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.1129, allocations: 56.47 kB / 0.6567 GB, free: 6.453 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.1133, allocations: 327.6 kB / 0.6571 GB, free: 6.094 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.1133, allocations: 53.38 kB / 0.6571 GB, free: 6.043 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.1135, allocations: 116.1 kB / 0.6572 GB, free: 5.93 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009231/0.1144, allocations: 0.6548 MB / 0.6579 GB, free: 5.27 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1144, allocations: 192 / 0.6579 GB, free: 5.27 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/0.1145, allocations: 23.94 kB / 0.6579 GB, free: 5.246 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1145, allocations: 12 kB / 0.6579 GB, free: 5.234 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005817/0.1151, allocations: 391.7 kB / 0.6583 GB, free: 4.852 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.1184, allocations: 1.793 MB / 0.66 GB, free: 3.008 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007062/0.1255, allocations: 2.511 MB / 0.6625 GB, free: 496 kB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/0.126, allocations: 370.6 kB / 0.6628 GB, free: 124 kB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/0.126, allocations: 8.656 kB / 0.6628 GB, free: 112 kB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.126, allocations: 47.16 kB / 0.6629 GB, free: 56 kB / 0.4983 GB Notification: Performance of pre-optimization done (n=82): time 1.713e-06/0.1261, allocations: 0 / 0.6629 GB, free: 56 kB / 0.4983 GB Notification: Performance of matching and sorting (n=82): time 0.001583/0.1276, allocations: 1.109 MB / 0.664 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1277, allocations: 60.06 kB / 0.664 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.429e-05/0.1278, allocations: 141.8 kB / 0.6642 GB, free: 14.72 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.1279, allocations: 49.7 kB / 0.6642 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.1279, allocations: 153.8 kB / 0.6644 GB, free: 14.51 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.1282, allocations: 382.5 kB / 0.6647 GB, free: 14.13 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.1284, allocations: 238.9 kB / 0.6649 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1285, allocations: 362.8 kB / 0.6653 GB, free: 13.53 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.1291, allocations: 450.3 kB / 0.6657 GB, free: 13.09 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/0.1297, allocations: 463.5 kB / 0.6662 GB, free: 12.63 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.1309, allocations: 0.9843 MB / 0.6671 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.131, allocations: 0 / 0.6671 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00151/0.1325, allocations: 1.211 MB / 0.6683 GB, free: 10.43 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1325, allocations: 6.812 kB / 0.6683 GB, free: 10.43 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1325, allocations: 0 / 0.6683 GB, free: 10.43 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1325, allocations: 11.94 kB / 0.6683 GB, free: 10.42 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.1341, allocations: 443.5 kB / 0.6687 GB, free: 9.984 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.1341, allocations: 4 kB / 0.6687 GB, free: 9.98 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.1346, allocations: 123 kB / 0.6689 GB, free: 9.859 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.1347, allocations: 40 kB / 0.6689 GB, free: 9.82 MB / 0.5139 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.1349, allocations: 214.4 kB / 0.6691 GB, free: 9.602 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.788e-05/0.135, allocations: 39.56 kB / 0.6691 GB, free: 9.562 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.1352, allocations: 95.38 kB / 0.6692 GB, free: 9.465 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.1352, allocations: 8 kB / 0.6692 GB, free: 9.457 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.1353, allocations: 0 / 0.6692 GB, free: 9.457 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/0.1353, allocations: 3.984 kB / 0.6692 GB, free: 9.453 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.1359, allocations: 0.599 MB / 0.6698 GB, free: 8.801 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1359, allocations: 0 / 0.6698 GB, free: 8.801 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/0.1381, allocations: 455.9 kB / 0.6703 GB, free: 8.355 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.1381, allocations: 4 kB / 0.6703 GB, free: 8.352 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.193e-05/0.1382, allocations: 47.95 kB / 0.6703 GB, free: 8.305 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1382, allocations: 8 kB / 0.6703 GB, free: 8.297 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1383, allocations: 3.938 kB / 0.6703 GB, free: 8.293 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.1398, allocations: 1.273 MB / 0.6716 GB, free: 7.004 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.1399, allocations: 120.6 kB / 0.6717 GB, free: 6.867 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.14, allocations: 43.97 kB / 0.6717 GB, free: 6.824 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.1404, allocations: 47.94 kB / 0.6718 GB, free: 6.777 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.1406, allocations: 52.58 kB / 0.6718 GB, free: 6.727 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/0.1406, allocations: 23.98 kB / 0.6718 GB, free: 6.703 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.1407, allocations: 91.27 kB / 0.6719 GB, free: 6.613 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1407, allocations: 8 kB / 0.6719 GB, free: 6.605 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004398/0.1411, allocations: 231.7 kB / 0.6722 GB, free: 6.379 MB / 0.5139 GB 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 (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.0001667/0.1413, allocations: 167.6 kB / 0.6723 GB, free: 6.207 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.1425, allocations: 0.9735 MB / 0.6733 GB, free: 5.234 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1425, allocations: 0 / 0.6733 GB, free: 5.234 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.1431, allocations: 447.5 kB / 0.6737 GB, free: 4.797 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1434, allocations: 35.66 kB / 0.6737 GB, free: 4.766 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/0.1487, allocations: 5.34 MB / 0.679 GB, free: 15.39 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.1491, allocations: 0.9151 MB / 0.6798 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.1494, allocations: 51.44 kB / 0.6799 GB, free: 14.4 MB / 0.5295 GB Notification: Performance of SimCode: time 3.1e-07/0.1494, allocations: 3.938 kB / 0.6799 GB, free: 14.39 MB / 0.5295 GB Notification: Performance of Templates: time 0.0102/0.1596, allocations: 8.663 MB / 0.6884 GB, free: 5.754 MB / 0.5295 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches