Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001204/0.001204, allocations: 112.3 kB / 17.74 MB, free: 5.312 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.001143/0.001143, allocations: 183 kB / 18.66 MB, free: 4.398 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.165/1.165, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7601/0.7601, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 61.31 kB / 0.573 GB, free: 38.85 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1058, allocations: 80.7 MB / 0.6518 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.001872/0.1077, allocations: 1.354 MB / 0.6532 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001876/0.1079, allocations: 55.8 kB / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.108, allocations: 0 / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.333e-05/0.1081, allocations: 11.92 kB / 0.6532 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.405e-05/0.1082, allocations: 15.91 kB / 0.6532 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.1083, allocations: 19.95 kB / 0.6533 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.1086, allocations: 355.4 kB / 0.6536 GB, free: 9.75 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.1087, allocations: 7.984 kB / 0.6536 GB, free: 9.742 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1088, allocations: 127.8 kB / 0.6537 GB, free: 9.617 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.109, allocations: 179.6 kB / 0.6539 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.1091, allocations: 20 kB / 0.6539 GB, free: 9.422 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.461e-05/0.1091, allocations: 16 kB / 0.6539 GB, free: 9.406 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1093, allocations: 143.7 kB / 0.6541 GB, free: 9.266 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.1094, allocations: 147.4 kB / 0.6542 GB, free: 9.121 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.1096, allocations: 251.2 kB / 0.6545 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1096, allocations: 0 / 0.6545 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1096, allocations: 0 / 0.6545 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.1096, allocations: 0 / 0.6545 GB, free: 8.875 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001513/0.1111, allocations: 0.7454 MB / 0.6552 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.1112, allocations: 15.89 kB / 0.6552 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.471e-05/0.1113, allocations: 32.66 kB / 0.6552 GB, free: 8.027 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.1115, allocations: 252 kB / 0.6555 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.1115, allocations: 28.94 kB / 0.6555 GB, free: 7.715 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/0.1116, allocations: 60.19 kB / 0.6555 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.1121, allocations: 349.2 kB / 0.6559 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1122, allocations: 192 / 0.6559 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.1122, allocations: 11.88 kB / 0.6559 GB, free: 7.301 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1122, allocations: 11.94 kB / 0.6559 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.1125, allocations: 206.1 kB / 0.6561 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.1143, allocations: 0.9982 MB / 0.6571 GB, free: 6.039 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/0.1178, allocations: 1.221 MB / 0.6583 GB, free: 4.809 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.1181, allocations: 184.8 kB / 0.6584 GB, free: 4.625 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1181, allocations: 4 kB / 0.6584 GB, free: 4.621 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1182, allocations: 42.5 kB / 0.6585 GB, free: 4.57 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 1.372e-06/0.1182, allocations: 0 / 0.6585 GB, free: 4.57 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.0009014/0.1191, allocations: 0.5707 MB / 0.659 GB, free: 3.992 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.1191, allocations: 59.34 kB / 0.6591 GB, free: 3.922 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.517e-05/0.1192, allocations: 133.8 kB / 0.6592 GB, free: 3.781 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.1193, allocations: 41.7 kB / 0.6593 GB, free: 3.734 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.1193, allocations: 117.2 kB / 0.6594 GB, free: 3.613 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.1195, allocations: 193.2 kB / 0.6596 GB, free: 3.422 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.1196, allocations: 122.3 kB / 0.6597 GB, free: 3.297 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.1197, allocations: 342.8 kB / 0.66 GB, free: 2.953 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.12, allocations: 229.1 kB / 0.6602 GB, free: 2.73 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.1204, allocations: 233.8 kB / 0.6605 GB, free: 2.5 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.121, allocations: 0.4931 MB / 0.6609 GB, free: 2.004 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.121, allocations: 0 / 0.6609 GB, free: 2.004 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008006/0.1218, allocations: 0.6218 MB / 0.6615 GB, free: 1.375 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1218, allocations: 4 kB / 0.6615 GB, free: 1.371 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1218, allocations: 7.922 kB / 0.6616 GB, free: 1.363 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1219, allocations: 4 kB / 0.6616 GB, free: 1.359 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008126/0.1227, allocations: 219.8 kB / 0.6618 GB, free: 1.145 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1227, allocations: 4 kB / 0.6618 GB, free: 1.141 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.1229, allocations: 63.5 kB / 0.6618 GB, free: 1.078 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.123, allocations: 16 kB / 0.6618 GB, free: 1.062 MB / 0.4983 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 (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.0001422/0.1231, allocations: 162.6 kB / 0.662 GB, free: 0.8945 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/0.1232, allocations: 23.75 kB / 0.662 GB, free: 0.8711 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.1233, allocations: 49.97 kB / 0.6621 GB, free: 0.8203 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1233, allocations: 4 kB / 0.6621 GB, free: 0.8164 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1234, allocations: 4 kB / 0.6621 GB, free: 0.8125 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1234, allocations: 3.984 kB / 0.6621 GB, free: 0.8086 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.1238, allocations: 389.1 kB / 0.6625 GB, free: 388 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1238, allocations: 7.875 kB / 0.6625 GB, free: 380 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.1249, allocations: 223.8 kB / 0.6627 GB, free: 156 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1249, allocations: 0 / 0.6627 GB, free: 156 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.125, allocations: 27.97 kB / 0.6627 GB, free: 128 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.125, allocations: 4 kB / 0.6627 GB, free: 124 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.125, allocations: 0 / 0.6627 GB, free: 124 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008688/0.1259, allocations: 0.7067 MB / 0.6634 GB, free: 15.4 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.1259, allocations: 104.8 kB / 0.6635 GB, free: 15.28 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.126, allocations: 19.98 kB / 0.6635 GB, free: 15.26 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.1263, allocations: 31.91 kB / 0.6635 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.1263, allocations: 27.89 kB / 0.6636 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.1264, allocations: 12 kB / 0.6636 GB, free: 15.19 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.1264, allocations: 95.27 kB / 0.6637 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1264, allocations: 0 / 0.6637 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003296/0.1268, allocations: 119.8 kB / 0.6638 GB, free: 14.98 MB / 0.5139 GB 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.0001353/0.1269, allocations: 123.7 kB / 0.6639 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0006593/0.1276, allocations: 499.3 kB / 0.6644 GB, free: 14.36 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1276, allocations: 4 kB / 0.6644 GB, free: 14.36 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.1279, allocations: 227.8 kB / 0.6646 GB, free: 14.14 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1281, allocations: 19.94 kB / 0.6646 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.1311, allocations: 2.727 MB / 0.6673 GB, free: 11.35 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1314, allocations: 0.7989 MB / 0.6681 GB, free: 10.53 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.1316, allocations: 31.44 kB / 0.6681 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of SimCode: time 3.1e-07/0.1316, allocations: 4 kB / 0.6681 GB, free: 10.49 MB / 0.5139 GB Notification: Performance of Templates: time 0.005483/0.1371, allocations: 4.506 MB / 0.6725 GB, free: 6 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches