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.001559/0.001559, allocations: 110.3 kB / 17.75 MB, free: 5.359 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.001754/0.001754, allocations: 181.4 kB / 18.67 MB, free: 4.441 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.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8712/0.8712, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 62.72 kB / 0.5731 GB, free: 38.98 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1348, allocations: 80.69 MB / 0.6519 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002441/0.1373, allocations: 1.354 MB / 0.6532 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002704/0.1376, allocations: 51.86 kB / 0.6532 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.1376, allocations: 0 / 0.6532 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.1377, allocations: 7.922 kB / 0.6532 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.411e-05/0.1378, allocations: 23.84 kB / 0.6533 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.138, allocations: 15.97 kB / 0.6533 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005832/0.1386, allocations: 0.663 MB / 0.6539 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.742e-05/0.1387, allocations: 8 kB / 0.6539 GB, free: 9.535 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.139, allocations: 235.7 kB / 0.6542 GB, free: 9.305 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005484/0.1396, allocations: 330 kB / 0.6545 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.1397, allocations: 40 kB / 0.6545 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1398, allocations: 36 kB / 0.6545 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.1401, allocations: 276 kB / 0.6548 GB, free: 8.637 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.1405, allocations: 286.9 kB / 0.6551 GB, free: 8.355 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.1409, allocations: 478.4 kB / 0.6555 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1409, allocations: 0 / 0.6555 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1409, allocations: 0 / 0.6555 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.141, allocations: 0 / 0.6555 GB, free: 7.887 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.003054/0.144, allocations: 1.183 MB / 0.6567 GB, free: 6.648 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1441, allocations: 15.88 kB / 0.6567 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.1442, allocations: 56.47 kB / 0.6568 GB, free: 6.578 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.1448, allocations: 327.6 kB / 0.6571 GB, free: 6.219 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.1448, allocations: 57.38 kB / 0.6571 GB, free: 6.164 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.145, allocations: 112.1 kB / 0.6572 GB, free: 6.055 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000988/0.146, allocations: 0.647 MB / 0.6579 GB, free: 5.402 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.146, allocations: 12.11 kB / 0.6579 GB, free: 5.391 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/0.1461, allocations: 19.94 kB / 0.6579 GB, free: 5.371 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1461, allocations: 12 kB / 0.6579 GB, free: 5.359 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/0.1467, allocations: 395.7 kB / 0.6583 GB, free: 4.973 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.1506, allocations: 1.793 MB / 0.66 GB, free: 3.129 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007737/0.1584, allocations: 2.507 MB / 0.6625 GB, free: 0.6094 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005272/0.1589, allocations: 378.6 kB / 0.6628 GB, free: 244 kB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.165e-05/0.159, allocations: 8.656 kB / 0.6629 GB, free: 232 kB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.159, allocations: 47.16 kB / 0.6629 GB, free: 176 kB / 0.4983 GB Notification: Performance of pre-optimization done (n=82): time 2.264e-06/0.159, allocations: 3.938 kB / 0.6629 GB, free: 172 kB / 0.4983 GB Notification: Performance of matching and sorting (n=82): time 0.001784/0.1608, allocations: 1.101 MB / 0.664 GB, free: 15.06 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.1608, allocations: 60.06 kB / 0.664 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.161, allocations: 137.8 kB / 0.6642 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.161, allocations: 57.7 kB / 0.6642 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.1611, allocations: 149.8 kB / 0.6644 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.1614, allocations: 382.5 kB / 0.6647 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.1617, allocations: 238.9 kB / 0.665 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1618, allocations: 362.8 kB / 0.6653 GB, free: 13.65 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006637/0.1625, allocations: 450.3 kB / 0.6657 GB, free: 13.21 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006631/0.1631, allocations: 463.5 kB / 0.6662 GB, free: 12.75 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.1645, allocations: 0.9843 MB / 0.6671 GB, free: 11.77 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1645, allocations: 4 kB / 0.6671 GB, free: 11.77 MB / 0.5139 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001681/0.1662, allocations: 1.203 MB / 0.6683 GB, free: 10.56 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1662, allocations: 11.94 kB / 0.6683 GB, free: 10.55 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1662, allocations: 0 / 0.6683 GB, free: 10.55 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1662, allocations: 7.938 kB / 0.6683 GB, free: 10.54 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.1679, allocations: 443.5 kB / 0.6688 GB, free: 10.11 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/0.1679, allocations: 4 kB / 0.6688 GB, free: 10.1 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.1684, allocations: 123 kB / 0.6689 GB, free: 9.98 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.1685, allocations: 40 kB / 0.6689 GB, free: 9.941 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.0002399/0.1687, allocations: 206.4 kB / 0.6691 GB, free: 9.73 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.1688, allocations: 43.55 kB / 0.6692 GB, free: 9.688 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.1691, allocations: 95.39 kB / 0.6692 GB, free: 9.59 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1691, allocations: 7.984 kB / 0.6692 GB, free: 9.582 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1691, allocations: 0 / 0.6692 GB, free: 9.582 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.1692, allocations: 112.6 kB / 0.6694 GB, free: 9.453 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.1693, allocations: 39.95 kB / 0.6694 GB, free: 9.414 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.1697, allocations: 55.94 kB / 0.6694 GB, free: 9.359 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.1699, allocations: 52.56 kB / 0.6695 GB, free: 9.305 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006769/0.1767, allocations: 2.076 MB / 0.6715 GB, free: 7.219 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002414/0.1791, allocations: 1.733 MB / 0.6732 GB, free: 5.469 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006647/0.1798, allocations: 461 kB / 0.6737 GB, free: 5.02 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.019e-05/0.1798, allocations: 99.2 kB / 0.6738 GB, free: 4.922 MB / 0.5139 GB Notification: Performance of Backend: time 5.61e-07/0.1798, allocations: 4 kB / 0.6738 GB, free: 4.918 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.1812, allocations: 0.7811 MB / 0.6745 GB, free: 4.129 MB / 0.5139 GB Notification: Performance of SimCode: time 0.005958/0.1871, allocations: 5.601 MB / 0.68 GB, free: 14.47 MB / 0.5295 GB Notification: Performance of Templates: time 0.0156/0.2028, allocations: 10.35 MB / 0.6901 GB, free: 4.148 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