Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.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.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,tolerance=1e-07,outputFormat="mat",numberOfIntervals=8000,variableFilter="P_a.1.|P_a.2.|P_diss.1,1.|P_diss.1,2.|P_diss.2,1.|P_diss.2,2.|P_ex.1,1.|P_ex.1,2.|P_ex.2,1.|P_ex.2,2.|P_load.1.|P_sfc|der.P_sfc.|der.generator.1..T_s.1..|der.generator.1..T_s.2..|der.generator.1..T_s.3..|der.generator.1..T_s.4..|der.generator.1..err_p_int.|der.generator.1..err_p_t_int.|der.generator.1..omega.|der.generator.1..p.|der.generator.1..p_t_lp.|der.generator.1..q_ev.|der.generator.1..theta.|der.generator.1..y_t.|der.generator.2..T_s.1..|der.generator.2..T_s.2..|der.generator.2..T_s.3..|der.generator.2..T_s.4..|der.generator.2..err_p_int.|der.generator.2..err_p_t_int.|der.generator.2..omega.|der.generator.2..p.|der.generator.2..p_t_lp.|der.generator.2..q_ev.|der.generator.2..theta.|der.generator.2..y_t.|f|generator.1..P_a|generator.1..P_sfc|generator.1..P_t|generator.1..T_s.1.|generator.1..T_s.2.|generator.1..T_s.3.|generator.1..T_s.4.|generator.1..T_s_b.1.|generator.1..T_s_b.2.|generator.1..T_s_b.3.|generator.1..T_s_b.4.|generator.1..T_s_b.5.|generator.1..delta_f|generator.1..err_p|generator.1..err_p_int|generator.1..err_p_t|generator.1..err_p_t_int|generator.1..f|generator.1..omega|generator.1..p|generator.1..p_0|generator.1..p_t|generator.1..p_t_0|generator.1..p_t_0_fc|generator.1..p_t_lp|generator.1..q_ev|generator.1..q_ev_0|generator.1..theta|generator.1..w_s|generator.1..y_t|generator.1..y_t_0|generator.2..P_a|generator.2..P_sfc|generator.2..P_t|generator.2..T_s.1.|generator.2..T_s.2.|generator.2..T_s.3.|generator.2..T_s.4.|generator.2..T_s_b.1.|generator.2..T_s_b.2.|generator.2..T_s_b.3.|generator.2..T_s_b.4.|generator.2..T_s_b.5.|generator.2..delta_f|generator.2..err_p|generator.2..err_p_int|generator.2..err_p_t|generator.2..err_p_t_int|generator.2..f|generator.2..omega|generator.2..p|generator.2..p_0|generator.2..p_t|generator.2..p_t_0|generator.2..p_t_0_fc|generator.2..p_t_lp|generator.2..q_ev|generator.2..q_ev_0|generator.2..theta|generator.2..w_s|generator.2..y_t|generator.2..y_t_0|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad") translateModel(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,tolerance=1e-07,outputFormat="mat",numberOfIntervals=8000,variableFilter="P_a.1.|P_a.2.|P_diss.1,1.|P_diss.1,2.|P_diss.2,1.|P_diss.2,2.|P_ex.1,1.|P_ex.1,2.|P_ex.2,1.|P_ex.2,2.|P_load.1.|P_sfc|der.P_sfc.|der.generator.1..T_s.1..|der.generator.1..T_s.2..|der.generator.1..T_s.3..|der.generator.1..T_s.4..|der.generator.1..err_p_int.|der.generator.1..err_p_t_int.|der.generator.1..omega.|der.generator.1..p.|der.generator.1..p_t_lp.|der.generator.1..q_ev.|der.generator.1..theta.|der.generator.1..y_t.|der.generator.2..T_s.1..|der.generator.2..T_s.2..|der.generator.2..T_s.3..|der.generator.2..T_s.4..|der.generator.2..err_p_int.|der.generator.2..err_p_t_int.|der.generator.2..omega.|der.generator.2..p.|der.generator.2..p_t_lp.|der.generator.2..q_ev.|der.generator.2..theta.|der.generator.2..y_t.|f|generator.1..P_a|generator.1..P_sfc|generator.1..P_t|generator.1..T_s.1.|generator.1..T_s.2.|generator.1..T_s.3.|generator.1..T_s.4.|generator.1..T_s_b.1.|generator.1..T_s_b.2.|generator.1..T_s_b.3.|generator.1..T_s_b.4.|generator.1..T_s_b.5.|generator.1..delta_f|generator.1..err_p|generator.1..err_p_int|generator.1..err_p_t|generator.1..err_p_t_int|generator.1..f|generator.1..omega|generator.1..p|generator.1..p_0|generator.1..p_t|generator.1..p_t_0|generator.1..p_t_0_fc|generator.1..p_t_lp|generator.1..q_ev|generator.1..q_ev_0|generator.1..theta|generator.1..w_s|generator.1..y_t|generator.1..y_t_0|generator.2..P_a|generator.2..P_sfc|generator.2..P_t|generator.2..T_s.1.|generator.2..T_s.2.|generator.2..T_s.3.|generator.2..T_s.4.|generator.2..T_s_b.1.|generator.2..T_s_b.2.|generator.2..T_s_b.3.|generator.2..T_s_b.4.|generator.2..T_s_b.5.|generator.2..delta_f|generator.2..err_p|generator.2..err_p_int|generator.2..err_p_t|generator.2..err_p_t_int|generator.2..f|generator.2..omega|generator.2..p|generator.2..p_0|generator.2..p_t|generator.2..p_t_0|generator.2..p_t_0_fc|generator.2..p_t_lp|generator.2..q_ev|generator.2..q_ev_0|generator.2..theta|generator.2..w_s|generator.2..y_t|generator.2..y_t_0|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 111.3 kB / 17.75 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.001545/0.001545, allocations: 187 kB / 18.68 MB, free: 4.391 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.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9928/0.9928, allocations: 119.3 MB / 411.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 61.73 kB / 0.5716 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1333, allocations: 80.7 MB / 0.6504 GB, free: 13.03 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.002747/0.1361, allocations: 1.802 MB / 0.6522 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1371, allocations: 0.5537 MB / 0.6527 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.1372, allocations: 7.938 kB / 0.6527 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.1373, allocations: 19.78 kB / 0.6527 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.1376, allocations: 71.53 kB / 0.6528 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1379, allocations: 79.81 kB / 0.6529 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006204/0.1385, allocations: 0.6441 MB / 0.6535 GB, free: 9.836 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.656e-05/0.1386, allocations: 48.73 kB / 0.6536 GB, free: 9.785 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.1389, allocations: 263.3 kB / 0.6538 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/0.1393, allocations: 271.2 kB / 0.6541 GB, free: 9.262 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.283e-05/0.1394, allocations: 40 kB / 0.6541 GB, free: 9.223 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.095e-05/0.1395, allocations: 40 kB / 0.6541 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.1397, allocations: 147.5 kB / 0.6543 GB, free: 9.039 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.1399, allocations: 219 kB / 0.6545 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.1404, allocations: 0.5296 MB / 0.655 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1404, allocations: 0 / 0.655 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1404, allocations: 0 / 0.655 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.1404, allocations: 0 / 0.655 GB, free: 8.293 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002101/0.1425, allocations: 0.9549 MB / 0.6559 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1426, allocations: 11.89 kB / 0.656 GB, free: 7.277 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.1427, allocations: 44.47 kB / 0.656 GB, free: 7.234 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.1433, allocations: 354.6 kB / 0.6563 GB, free: 6.848 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.1433, allocations: 29.03 kB / 0.6564 GB, free: 6.816 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/0.1435, allocations: 80.5 kB / 0.6564 GB, free: 6.738 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008003/0.1443, allocations: 0.5289 MB / 0.657 GB, free: 6.203 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.1444, allocations: 0 / 0.657 GB, free: 6.203 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.1444, allocations: 12 kB / 0.657 GB, free: 6.191 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.1445, allocations: 12.66 kB / 0.657 GB, free: 6.18 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007428/0.1452, allocations: 0.5021 MB / 0.6575 GB, free: 5.676 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.1487, allocations: 1.572 MB / 0.659 GB, free: 4.055 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.1502, allocations: 0.8728 MB / 0.6599 GB, free: 3.168 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000511/0.1508, allocations: 388.1 kB / 0.6602 GB, free: 2.789 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.1508, allocations: 4.438 kB / 0.6602 GB, free: 2.785 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1508, allocations: 39 kB / 0.6603 GB, free: 2.738 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=52): time 2.976e-06/0.1509, allocations: 4 kB / 0.6603 GB, free: 2.734 MB / 0.4983 GB Notification: Performance of matching and sorting (n=52): time 0.001491/0.1524, allocations: 0.9919 MB / 0.6612 GB, free: 1.738 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.1524, allocations: 55.84 kB / 0.6613 GB, free: 1.672 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.1527, allocations: 314.6 kB / 0.6616 GB, free: 1.352 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.912e-05/0.1528, allocations: 41.7 kB / 0.6616 GB, free: 1.305 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1529, allocations: 180.7 kB / 0.6618 GB, free: 1.125 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.1531, allocations: 197.2 kB / 0.662 GB, free: 0.9297 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.1533, allocations: 138.6 kB / 0.6621 GB, free: 0.7891 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1534, allocations: 354.8 kB / 0.6625 GB, free: 444 kB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.154, allocations: 413.6 kB / 0.6629 GB, free: 28 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.1546, allocations: 0.4972 MB / 0.6633 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.1558, allocations: 0.8741 MB / 0.6642 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1558, allocations: 0 / 0.6642 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001475/0.1573, allocations: 1.031 MB / 0.6652 GB, free: 13.56 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.1573, allocations: 11.12 kB / 0.6652 GB, free: 13.55 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1573, allocations: 0 / 0.6652 GB, free: 13.55 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.1574, allocations: 7.938 kB / 0.6652 GB, free: 13.55 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009876/0.1584, allocations: 227.7 kB / 0.6654 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/0.1584, allocations: 4 kB / 0.6654 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.1588, allocations: 95.3 kB / 0.6655 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.1589, allocations: 23.94 kB / 0.6656 GB, free: 13.2 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 86 * 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.0002699/0.1592, allocations: 225.8 kB / 0.6658 GB, free: 12.97 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.1592, allocations: 35.53 kB / 0.6658 GB, free: 12.94 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.1605, allocations: 0.7943 MB / 0.6666 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.1605, allocations: 7.922 kB / 0.6666 GB, free: 12.13 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1605, allocations: 4 kB / 0.6666 GB, free: 12.13 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.1609, allocations: 188.5 kB / 0.6668 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.085e-05/0.161, allocations: 27.97 kB / 0.6668 GB, free: 11.9 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.1613, allocations: 43.94 kB / 0.6668 GB, free: 11.86 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.1614, allocations: 40.33 kB / 0.6669 GB, free: 11.82 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002967/0.1644, allocations: 1.311 MB / 0.6682 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001865/0.1663, allocations: 1.525 MB / 0.6696 GB, free: 8.953 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005103/0.1668, allocations: 431.1 kB / 0.6701 GB, free: 8.535 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0002181/0.167, allocations: 233.8 kB / 0.6703 GB, free: 8.312 MB / 0.5139 GB Notification: Performance of Backend: time 5.21e-07/0.167, allocations: 0 / 0.6703 GB, free: 8.312 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.1683, allocations: 0.6187 MB / 0.6709 GB, free: 7.684 MB / 0.5139 GB Notification: Performance of SimCode: time 0.002843/0.1711, allocations: 2.532 MB / 0.6734 GB, free: 5.098 MB / 0.5139 GB Notification: Performance of Templates: time 0.01341/0.1846, allocations: 7.161 MB / 0.6804 GB, free: 13.98 MB / 0.5295 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches