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.001234/0.001234, allocations: 109.8 kB / 17.74 MB, free: 5.316 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.001167/0.001167, allocations: 189.6 kB / 18.67 MB, free: 4.395 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.264/1.264, 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.8439/0.8439, allocations: 119.3 MB / 411.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 65.73 kB / 0.573 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.133, allocations: 80.7 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.002327/0.1353, allocations: 1.35 MB / 0.6532 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002402/0.1356, allocations: 59.78 kB / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.1357, allocations: 0 / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.125e-05/0.1357, allocations: 7.938 kB / 0.6532 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 8.87e-05/0.1359, allocations: 19.89 kB / 0.6532 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.136, allocations: 27.91 kB / 0.6533 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.1366, allocations: 0.6552 MB / 0.6539 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.38e-05/0.1366, allocations: 8 kB / 0.6539 GB, free: 9.418 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.1369, allocations: 239.7 kB / 0.6541 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000505/0.1374, allocations: 322 kB / 0.6545 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.1376, allocations: 36 kB / 0.6545 GB, free: 8.832 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1377, allocations: 36 kB / 0.6545 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.1379, allocations: 276 kB / 0.6548 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003498/0.1383, allocations: 286.9 kB / 0.6551 GB, free: 8.246 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.1387, allocations: 486.4 kB / 0.6555 GB, free: 7.77 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1387, allocations: 3.938 kB / 0.6555 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.584e-06/0.1387, allocations: 0 / 0.6555 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.1387, allocations: 3.938 kB / 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.002832/0.1416, allocations: 1.175 MB / 0.6567 GB, free: 6.531 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1416, allocations: 15.89 kB / 0.6567 GB, free: 6.516 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.1418, allocations: 60.47 kB / 0.6567 GB, free: 6.457 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.1423, allocations: 327.6 kB / 0.6571 GB, free: 6.098 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.1423, allocations: 53.38 kB / 0.6571 GB, free: 6.047 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.1425, allocations: 116.1 kB / 0.6572 GB, free: 5.934 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009662/0.1435, allocations: 0.6509 MB / 0.6579 GB, free: 5.277 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1435, allocations: 192 / 0.6579 GB, free: 5.277 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.214e-05/0.1436, allocations: 19.94 kB / 0.6579 GB, free: 5.258 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.1436, allocations: 12 kB / 0.6579 GB, free: 5.246 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006189/0.1442, allocations: 399.7 kB / 0.6583 GB, free: 4.855 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003569/0.1478, allocations: 1.793 MB / 0.66 GB, free: 3.012 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007011/0.1548, allocations: 2.515 MB / 0.6625 GB, free: 496 kB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.1553, allocations: 366.6 kB / 0.6628 GB, free: 128 kB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.1554, allocations: 8.656 kB / 0.6628 GB, free: 116 kB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1554, allocations: 51.16 kB / 0.6629 GB, free: 56 kB / 0.4983 GB Notification: Performance of pre-optimization done (n=82): time 1.733e-06/0.1554, allocations: 0 / 0.6629 GB, free: 56 kB / 0.4983 GB Notification: Performance of matching and sorting (n=82): time 0.001688/0.1571, allocations: 1.105 MB / 0.664 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1572, allocations: 60.06 kB / 0.664 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.1573, allocations: 149.7 kB / 0.6642 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 5.92e-05/0.1573, allocations: 49.7 kB / 0.6642 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.1574, allocations: 153.8 kB / 0.6644 GB, free: 14.5 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.1577, allocations: 382.4 kB / 0.6647 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.158, allocations: 235 kB / 0.6649 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1581, allocations: 370.8 kB / 0.6653 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006278/0.1587, allocations: 446.3 kB / 0.6657 GB, free: 13.08 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/0.1594, allocations: 463.5 kB / 0.6662 GB, free: 12.63 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.1607, allocations: 0.9766 MB / 0.6671 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1607, allocations: 4 kB / 0.6671 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001619/0.1623, allocations: 1.207 MB / 0.6683 GB, free: 10.44 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.1623, allocations: 15.86 kB / 0.6683 GB, free: 10.42 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1623, allocations: 0 / 0.6683 GB, free: 10.42 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1624, allocations: 8 kB / 0.6683 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.164, allocations: 439.6 kB / 0.6687 GB, free: 9.984 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/0.164, allocations: 7.938 kB / 0.6688 GB, free: 9.977 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.1645, allocations: 123 kB / 0.6689 GB, free: 9.855 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.1646, allocations: 40 kB / 0.6689 GB, free: 9.816 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.0002281/0.1648, allocations: 206.5 kB / 0.6691 GB, free: 9.605 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-05/0.1649, allocations: 39.56 kB / 0.6691 GB, free: 9.566 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.1651, allocations: 95.33 kB / 0.6692 GB, free: 9.469 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.1651, allocations: 12 kB / 0.6692 GB, free: 9.457 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1652, allocations: 0 / 0.6692 GB, free: 9.457 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.1652, allocations: 7.969 kB / 0.6693 GB, free: 9.449 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007128/0.1659, allocations: 0.5951 MB / 0.6698 GB, free: 8.801 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1659, allocations: 0 / 0.6698 GB, free: 8.801 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/0.1681, allocations: 451.5 kB / 0.6703 GB, free: 8.359 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.1681, allocations: 8 kB / 0.6703 GB, free: 8.352 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.401e-05/0.1682, allocations: 47.94 kB / 0.6703 GB, free: 8.305 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1682, allocations: 4 kB / 0.6703 GB, free: 8.301 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1682, allocations: 0 / 0.6703 GB, free: 8.301 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.1699, allocations: 1.273 MB / 0.6716 GB, free: 7.012 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.1699, allocations: 117 kB / 0.6717 GB, free: 6.879 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.1701, allocations: 47.95 kB / 0.6717 GB, free: 6.832 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/0.1705, allocations: 47.94 kB / 0.6718 GB, free: 6.785 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.1707, allocations: 52.58 kB / 0.6718 GB, free: 6.734 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.1707, allocations: 27.92 kB / 0.6718 GB, free: 6.707 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.1708, allocations: 99.2 kB / 0.6719 GB, free: 6.609 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1708, allocations: 0 / 0.6719 GB, free: 6.609 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004634/0.1712, allocations: 235.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.0001935/0.1714, allocations: 171.6 kB / 0.6723 GB, free: 6.203 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.1727, allocations: 0.9696 MB / 0.6733 GB, free: 5.234 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1727, allocations: 0 / 0.6733 GB, free: 5.234 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005568/0.1733, 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.0003315/0.1736, allocations: 32 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.005722/0.1794, allocations: 5.336 MB / 0.6789 GB, free: 15.39 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.1798, allocations: 0.9189 MB / 0.6798 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.1801, allocations: 51.44 kB / 0.6799 GB, free: 14.4 MB / 0.5295 GB Notification: Performance of SimCode: time 4.51e-07/0.1801, allocations: 0 / 0.6799 GB, free: 14.4 MB / 0.5295 GB Notification: Performance of Templates: time 0.01144/0.1916, allocations: 8.747 MB / 0.6884 GB, free: 5.676 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