Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001361/0.001361, allocations: 107 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.00137/0.00137, allocations: 194.5 kB / 18.68 MB, free: 4.387 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8929/0.8929, allocations: 119.3 MB / 411.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.05 kB / 0.5716 GB, free: 39.71 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1256, allocations: 80.7 MB / 0.6504 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.00265/0.1283, allocations: 1.802 MB / 0.6522 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009781/0.1293, allocations: 0.5536 MB / 0.6527 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.1294, allocations: 0 / 0.6527 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.1295, allocations: 23.78 kB / 0.6527 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.1298, allocations: 63.53 kB / 0.6528 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.13, allocations: 79.83 kB / 0.6529 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006453/0.1306, allocations: 0.6519 MB / 0.6535 GB, free: 9.824 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.616e-05/0.1307, allocations: 44.75 kB / 0.6535 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.131, allocations: 251.4 kB / 0.6538 GB, free: 9.531 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.1314, allocations: 283.1 kB / 0.6541 GB, free: 9.254 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.545e-05/0.1316, allocations: 40 kB / 0.6541 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1317, allocations: 44 kB / 0.6541 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.1318, allocations: 139.6 kB / 0.6543 GB, free: 9.035 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.1321, allocations: 219 kB / 0.6545 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004695/0.1326, allocations: 0.5371 MB / 0.655 GB, free: 8.281 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1326, allocations: 0 / 0.655 GB, free: 8.281 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1326, allocations: 3.938 kB / 0.655 GB, free: 8.277 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.1326, allocations: 4 kB / 0.655 GB, free: 8.273 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.002044/0.1346, allocations: 0.9547 MB / 0.6559 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1347, allocations: 15.83 kB / 0.656 GB, free: 7.254 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.167e-05/0.1348, allocations: 48.66 kB / 0.656 GB, free: 7.207 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.1353, allocations: 362.7 kB / 0.6564 GB, free: 6.812 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.1353, allocations: 29.03 kB / 0.6564 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.1355, allocations: 68.67 kB / 0.6564 GB, free: 6.715 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007716/0.1363, allocations: 0.5328 MB / 0.657 GB, free: 6.176 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.1363, allocations: 0 / 0.657 GB, free: 6.176 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.1364, allocations: 12 kB / 0.657 GB, free: 6.164 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.1364, allocations: 16.66 kB / 0.657 GB, free: 6.148 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007666/0.1372, allocations: 0.5021 MB / 0.6575 GB, free: 5.645 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003194/0.1404, allocations: 1.577 MB / 0.659 GB, free: 4.02 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.1419, allocations: 0.8727 MB / 0.6599 GB, free: 3.133 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005144/0.1424, allocations: 384.1 kB / 0.6602 GB, free: 2.758 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.1425, allocations: 8.438 kB / 0.6602 GB, free: 2.75 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1425, allocations: 46.88 kB / 0.6603 GB, free: 2.695 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=52): time 2.004e-06/0.1425, allocations: 0 / 0.6603 GB, free: 2.695 MB / 0.4983 GB Notification: Performance of matching and sorting (n=52): time 0.001471/0.144, allocations: 0.9883 MB / 0.6613 GB, free: 1.703 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.144, allocations: 59.84 kB / 0.6613 GB, free: 1.633 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.1443, allocations: 310.6 kB / 0.6616 GB, free: 1.316 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.1444, allocations: 37.7 kB / 0.6616 GB, free: 1.273 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1445, allocations: 173 kB / 0.6618 GB, free: 1.102 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.1447, allocations: 218.2 kB / 0.662 GB, free: 0.8867 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.1449, allocations: 134.6 kB / 0.6621 GB, free: 0.75 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.145, allocations: 358.8 kB / 0.6625 GB, free: 400 kB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.1456, allocations: 409.6 kB / 0.6629 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/0.1463, allocations: 0.4971 MB / 0.6634 GB, free: 15.46 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.1474, allocations: 0.8741 MB / 0.6642 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1474, allocations: 4 kB / 0.6642 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001461/0.1489, allocations: 1.024 MB / 0.6652 GB, free: 13.53 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.149, allocations: 10.81 kB / 0.6652 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.149, allocations: 0 / 0.6652 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.149, allocations: 11.94 kB / 0.6652 GB, free: 13.51 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009779/0.15, allocations: 227.7 kB / 0.6655 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.15, allocations: 8.156 kB / 0.6655 GB, free: 13.28 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.1504, allocations: 95.48 kB / 0.6656 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.1504, allocations: 24 kB / 0.6656 GB, free: 13.16 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.0002514/0.1507, allocations: 221.6 kB / 0.6658 GB, free: 12.93 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.1508, allocations: 35.77 kB / 0.6658 GB, free: 12.9 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.152, allocations: 0.8021 MB / 0.6666 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.152, allocations: 3.938 kB / 0.6666 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1521, allocations: 3.938 kB / 0.6666 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.1523, allocations: 188.7 kB / 0.6668 GB, free: 11.88 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.672e-05/0.1524, allocations: 39.91 kB / 0.6668 GB, free: 11.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.1527, allocations: 35.94 kB / 0.6669 GB, free: 11.81 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.1528, allocations: 32.39 kB / 0.6669 GB, free: 11.78 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002878/0.1557, allocations: 1.323 MB / 0.6682 GB, free: 10.45 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001864/0.1575, allocations: 1.529 MB / 0.6697 GB, free: 8.898 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000532/0.1581, allocations: 431.1 kB / 0.6701 GB, free: 8.48 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0002039/0.1583, allocations: 221.9 kB / 0.6703 GB, free: 8.27 MB / 0.5139 GB Notification: Performance of Backend: time 1.663e-06/0.1583, allocations: 0 / 0.6703 GB, free: 8.27 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.1595, allocations: 0.6303 MB / 0.6709 GB, free: 7.633 MB / 0.5139 GB Notification: Performance of SimCode: time 0.0029/0.1624, allocations: 2.558 MB / 0.6734 GB, free: 5.02 MB / 0.5139 GB Notification: Performance of Templates: time 0.01203/0.1744, allocations: 7.153 MB / 0.6804 GB, free: 13.91 MB / 0.5295 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.sim & ./ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches