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.001495/0.001495, allocations: 107.8 kB / 17.74 MB, free: 5.332 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.001653/0.001653, allocations: 194.5 kB / 18.68 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9579/0.9579, allocations: 119.3 MB / 411.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 62.31 kB / 0.5731 GB, free: 38.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1428, allocations: 80.69 MB / 0.6519 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002334/0.1452, allocations: 1.349 MB / 0.6532 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002212/0.1454, allocations: 59.78 kB / 0.6532 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.1455, allocations: 0 / 0.6532 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.281e-05/0.1456, allocations: 7.922 kB / 0.6532 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 8.067e-05/0.1456, allocations: 15.86 kB / 0.6533 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.1458, allocations: 19.95 kB / 0.6533 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000341/0.1461, allocations: 355.4 kB / 0.6536 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.1462, allocations: 8 kB / 0.6536 GB, free: 9.727 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1463, allocations: 131.8 kB / 0.6537 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.1466, allocations: 175.6 kB / 0.6539 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.1467, allocations: 16 kB / 0.6539 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.353e-05/0.1467, allocations: 20 kB / 0.6539 GB, free: 9.391 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.147, allocations: 143.7 kB / 0.6541 GB, free: 9.25 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.1471, allocations: 151.3 kB / 0.6542 GB, free: 9.102 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1474, allocations: 251 kB / 0.6545 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1474, allocations: 0 / 0.6545 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1474, allocations: 0 / 0.6545 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1474, allocations: 0 / 0.6545 GB, free: 8.855 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.001709/0.1491, allocations: 0.753 MB / 0.6552 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1492, allocations: 11.89 kB / 0.6552 GB, free: 8.035 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.683e-05/0.1493, allocations: 32.8 kB / 0.6552 GB, free: 8.004 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.1495, allocations: 244.1 kB / 0.6555 GB, free: 7.727 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.1496, allocations: 36.94 kB / 0.6555 GB, free: 7.691 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.1497, allocations: 60.27 kB / 0.6556 GB, free: 7.633 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.1504, allocations: 349.2 kB / 0.6559 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.1504, allocations: 4.125 kB / 0.6559 GB, free: 7.285 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.1504, allocations: 15.94 kB / 0.6559 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1504, allocations: 4 kB / 0.6559 GB, free: 7.266 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.1508, allocations: 214.1 kB / 0.6561 GB, free: 7.055 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.1529, allocations: 0.9866 MB / 0.6571 GB, free: 6.02 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004023/0.1569, allocations: 1.217 MB / 0.6583 GB, free: 4.793 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.1572, allocations: 192.8 kB / 0.6585 GB, free: 4.602 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.1573, allocations: 4 kB / 0.6585 GB, free: 4.598 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1573, allocations: 42.48 kB / 0.6585 GB, free: 4.547 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 2.675e-06/0.1573, allocations: 0 / 0.6585 GB, free: 4.547 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.001175/0.1585, allocations: 0.5746 MB / 0.6591 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1586, allocations: 59.34 kB / 0.6591 GB, free: 3.895 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.1587, allocations: 125.8 kB / 0.6592 GB, free: 3.762 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.1588, allocations: 41.7 kB / 0.6593 GB, free: 3.715 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.1588, allocations: 129.2 kB / 0.6594 GB, free: 3.582 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.159, allocations: 206.3 kB / 0.6596 GB, free: 3.379 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.1592, allocations: 122.3 kB / 0.6597 GB, free: 3.254 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1594, allocations: 338.8 kB / 0.66 GB, free: 2.914 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.1597, allocations: 221.2 kB / 0.6603 GB, free: 2.699 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.16, allocations: 237.7 kB / 0.6605 GB, free: 2.465 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/0.1607, allocations: 0.4892 MB / 0.661 GB, free: 1.973 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1607, allocations: 0 / 0.661 GB, free: 1.973 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009269/0.1617, allocations: 0.6297 MB / 0.6616 GB, free: 1.336 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1617, allocations: 8 kB / 0.6616 GB, free: 1.328 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1617, allocations: 0 / 0.6616 GB, free: 1.328 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1617, allocations: 4 kB / 0.6616 GB, free: 1.324 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008841/0.1626, allocations: 227.7 kB / 0.6618 GB, free: 1.102 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1626, allocations: 3.984 kB / 0.6618 GB, free: 1.098 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.1629, allocations: 59.66 kB / 0.6619 GB, free: 1.039 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.1629, allocations: 20 kB / 0.6619 GB, free: 1.02 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.0001508/0.1631, allocations: 162.5 kB / 0.662 GB, free: 0.8516 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.1632, allocations: 23.8 kB / 0.6621 GB, free: 0.8281 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.1634, allocations: 53.97 kB / 0.6621 GB, free: 0.7734 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.1634, allocations: 3.984 kB / 0.6621 GB, free: 0.7695 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1634, allocations: 0 / 0.6621 GB, free: 0.7695 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.1635, allocations: 96.89 kB / 0.6622 GB, free: 0.6562 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.1635, allocations: 23.98 kB / 0.6622 GB, free: 0.6328 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.1638, allocations: 27.97 kB / 0.6623 GB, free: 0.6055 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.27e-05/0.1639, allocations: 23.95 kB / 0.6623 GB, free: 0.582 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003398/0.1673, allocations: 1.086 MB / 0.6633 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001393/0.1687, allocations: 0.9744 MB / 0.6643 GB, free: 14.5 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003746/0.1691, allocations: 227.7 kB / 0.6645 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.383e-05/0.1692, allocations: 99.58 kB / 0.6646 GB, free: 14.18 MB / 0.5139 GB Notification: Performance of Backend: time 7.71e-07/0.1692, allocations: 0 / 0.6646 GB, free: 14.18 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008787/0.1701, allocations: 433.9 kB / 0.665 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of SimCode: time 0.003668/0.1737, allocations: 3.103 MB / 0.6681 GB, free: 10.59 MB / 0.5139 GB Notification: Performance of Templates: time 0.009684/0.1834, allocations: 5.359 MB / 0.6733 GB, free: 5.262 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