Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.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: "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 107.1 kB / 17.06 MB, free: 6.125 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.001247/0.001247, allocations: 199 kB / 18 MB, free: 5.199 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.253/1.253, allocations: 222.9 MB / 241.7 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.8013/0.8013, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.22 kB / 0.5705 GB, free: 40.02 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1232, allocations: 80.71 MB / 0.6493 GB, free: 13.51 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4): time 0.002624/0.1259, allocations: 1.81 MB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1269, allocations: 0.5575 MB / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.127, allocations: 0 / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.1272, allocations: 31.7 kB / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.1274, allocations: 59.59 kB / 0.6517 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1277, allocations: 79.81 kB / 0.6517 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006515/0.1284, allocations: 0.6558 MB / 0.6524 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.361e-05/0.1285, allocations: 40.73 kB / 0.6524 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003532/0.1288, allocations: 259.3 kB / 0.6527 GB, free: 10 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004455/0.1293, allocations: 279.1 kB / 0.6529 GB, free: 9.727 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.1294, allocations: 40 kB / 0.653 GB, free: 9.688 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.1295, allocations: 40 kB / 0.653 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.1297, allocations: 155.6 kB / 0.6532 GB, free: 9.496 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.13, allocations: 211 kB / 0.6534 GB, free: 9.289 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.1304, allocations: 0.5294 MB / 0.6539 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1304, allocations: 3.938 kB / 0.6539 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1305, allocations: 0 / 0.6539 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.1305, allocations: 0 / 0.6539 GB, free: 8.758 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.0021/0.1326, allocations: 0.9549 MB / 0.6548 GB, free: 7.754 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1326, allocations: 12.03 kB / 0.6548 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.425e-05/0.1327, allocations: 70.72 kB / 0.6549 GB, free: 7.664 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.766e-05/0.1328, allocations: 44.47 kB / 0.6549 GB, free: 7.621 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.1333, allocations: 354.6 kB / 0.6553 GB, free: 7.234 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.1333, allocations: 29.03 kB / 0.6553 GB, free: 7.203 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.1336, allocations: 72.39 kB / 0.6554 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007517/0.1343, allocations: 0.525 MB / 0.6559 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1343, allocations: 0 / 0.6559 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.1344, allocations: 16 kB / 0.6559 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.1344, allocations: 16.64 kB / 0.6559 GB, free: 6.57 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/0.1351, allocations: 0.506 MB / 0.6564 GB, free: 6.062 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/0.1382, allocations: 1.572 MB / 0.658 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.1397, allocations: 0.8766 MB / 0.6588 GB, free: 3.551 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/0.1401, allocations: 380.3 kB / 0.6592 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.1402, allocations: 4.438 kB / 0.6592 GB, free: 3.176 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.1402, allocations: 39 kB / 0.6592 GB, free: 3.129 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=52): time 1.753e-06/0.1402, allocations: 0 / 0.6592 GB, free: 3.129 MB / 0.4983 GB Notification: Performance of matching and sorting (n=52): time 0.00137/0.1416, allocations: 0.9919 MB / 0.6602 GB, free: 2.133 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1416, allocations: 63.84 kB / 0.6602 GB, free: 2.059 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.1419, allocations: 314.6 kB / 0.6605 GB, free: 1.738 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/0.142, allocations: 37.7 kB / 0.6606 GB, free: 1.695 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1421, allocations: 180.7 kB / 0.6607 GB, free: 1.516 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.1423, allocations: 201.1 kB / 0.6609 GB, free: 1.316 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.1425, allocations: 130.7 kB / 0.6611 GB, free: 1.184 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1426, allocations: 362.8 kB / 0.6614 GB, free: 0.8203 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/0.1431, allocations: 405.6 kB / 0.6618 GB, free: 432 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.1437, allocations: 0.4972 MB / 0.6623 GB, free: 15.9 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.1448, allocations: 0.878 MB / 0.6631 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1448, allocations: 0 / 0.6631 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00134/0.1461, allocations: 1.027 MB / 0.6641 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1462, allocations: 8.219 kB / 0.6642 GB, free: 13.95 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1462, allocations: 7.938 kB / 0.6642 GB, free: 13.94 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1462, allocations: 4 kB / 0.6642 GB, free: 13.94 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009119/0.1471, allocations: 231.7 kB / 0.6644 GB, free: 13.71 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.1472, allocations: 4 kB / 0.6644 GB, free: 13.71 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.1475, allocations: 87.39 kB / 0.6645 GB, free: 13.62 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.1476, allocations: 27.94 kB / 0.6645 GB, free: 13.59 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.0002279/0.1478, allocations: 221.5 kB / 0.6647 GB, free: 13.37 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.762e-05/0.1479, allocations: 43.52 kB / 0.6648 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.149, allocations: 0.8021 MB / 0.6655 GB, free: 12.52 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.149, allocations: 8 kB / 0.6655 GB, free: 12.51 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.149, allocations: 3.938 kB / 0.6655 GB, free: 12.51 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1491, allocations: 3.984 kB / 0.6655 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.1497, allocations: 0.5716 MB / 0.6661 GB, free: 11.88 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1497, allocations: 0 / 0.6661 GB, free: 11.88 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009825/0.1507, allocations: 203.7 kB / 0.6663 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.1507, allocations: 4 kB / 0.6663 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.962e-05/0.1508, allocations: 35.91 kB / 0.6663 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1508, allocations: 4 kB / 0.6663 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1508, allocations: 0 / 0.6663 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.1523, allocations: 1.227 MB / 0.6675 GB, free: 10.4 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.1525, allocations: 188.5 kB / 0.6677 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/0.1526, allocations: 31.92 kB / 0.6678 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.1529, allocations: 39.94 kB / 0.6678 GB, free: 10.12 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.153, allocations: 28.39 kB / 0.6678 GB, free: 10.1 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.153, allocations: 23.98 kB / 0.6678 GB, free: 10.07 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001928/0.1532, allocations: 225.9 kB / 0.6681 GB, free: 9.855 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1532, allocations: 0 / 0.6681 GB, free: 9.855 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004061/0.1536, allocations: 124 kB / 0.6682 GB, free: 9.734 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (P_sfc,generator[1].theta,generator[1].omega,generator[1].p,generator[1].q_ev,generator[1].y_t,generator[1].p_t_lp,generator[1].T_s[1],generator[1].T_s[2],generator[1].T_s[3],generator[1].T_s[4],generator[1].err_p_t_int,generator[1].err_p_int,generator[2].theta,generator[2].omega,generator[2].p,generator[2].q_ev,generator[2].y_t,generator[2].p_t_lp,generator[2].T_s[1],generator[2].T_s[2],generator[2].T_s[3],generator[2].T_s[4],generator[2].err_p_t_int,generator[2].err_p_int) * 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 (54): * Single equations (assignments): 54 * 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.001713/0.1554, allocations: 1.802 MB / 0.6699 GB, free: 7.906 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.1565, allocations: 0.8298 MB / 0.6707 GB, free: 7.074 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1565, allocations: 0 / 0.6707 GB, free: 7.074 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.1569, allocations: 370.2 kB / 0.6711 GB, free: 6.715 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1572, allocations: 32.83 kB / 0.6711 GB, free: 6.684 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007755/0.165, allocations: 6.955 MB / 0.6779 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.1654, allocations: 0.8975 MB / 0.6788 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0004807/0.1659, allocations: 247 kB / 0.679 GB, free: 14.44 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.1662, allocations: 127.4 kB / 0.6792 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of SimCode: time 1.974e-06/0.1662, allocations: 7.938 kB / 0.6792 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.1952, allocations: 9.806 MB / 0.6887 GB, free: 4.699 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.174, allocations: 10.3 kB / 0.6887 GB, free: 4.695 MB / 0.5295 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches