Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_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_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_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.001063/0.001063, allocations: 112 kB / 17.06 MB, free: 5.992 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.001019/0.00102, allocations: 194.9 kB / 18.01 MB, free: 5.074 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.229/1.229, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8491/0.8491, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001163, allocations: 66.7 kB / 0.5705 GB, free: 39.98 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1304, allocations: 80.69 MB / 0.6493 GB, free: 13.53 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4): time 0.002367/0.1328, allocations: 1.818 MB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008728/0.1337, allocations: 0.5575 MB / 0.6516 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.1338, allocations: 4 kB / 0.6516 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.134, allocations: 19.78 kB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.1342, allocations: 59.55 kB / 0.6517 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.1344, allocations: 83.81 kB / 0.6517 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.1355, allocations: 1.352 MB / 0.6531 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1356, allocations: 89.69 kB / 0.6532 GB, free: 9.516 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.1361, allocations: 0.5067 MB / 0.6537 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006602/0.1368, allocations: 0.5608 MB / 0.6542 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.1369, allocations: 88 kB / 0.6543 GB, free: 8.359 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1371, allocations: 88 kB / 0.6544 GB, free: 8.273 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.1374, allocations: 327.1 kB / 0.6547 GB, free: 7.953 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004746/0.1378, allocations: 457.9 kB / 0.6551 GB, free: 7.504 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0008462/0.1387, allocations: 1.133 MB / 0.6562 GB, free: 6.367 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1387, allocations: 0 / 0.6562 GB, free: 6.367 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1387, allocations: 0 / 0.6562 GB, free: 6.367 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.1387, allocations: 0 / 0.6562 GB, free: 6.367 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.003605/0.1423, allocations: 1.665 MB / 0.6578 GB, free: 4.652 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1424, allocations: 8.031 kB / 0.6579 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001412/0.1425, allocations: 122.7 kB / 0.658 GB, free: 4.516 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.1427, allocations: 96.36 kB / 0.6581 GB, free: 4.422 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009072/0.1436, allocations: 0.5488 MB / 0.6586 GB, free: 3.836 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.1437, allocations: 62.38 kB / 0.6587 GB, free: 3.773 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003856/0.1441, allocations: 140.3 kB / 0.6588 GB, free: 3.637 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.1456, allocations: 1.151 MB / 0.6599 GB, free: 2.48 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.1457, allocations: 7.953 kB / 0.6599 GB, free: 2.473 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.13e-05/0.1458, allocations: 28 kB / 0.66 GB, free: 2.445 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.1458, allocations: 29.98 kB / 0.66 GB, free: 2.418 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.1474, allocations: 1.233 MB / 0.6612 GB, free: 1.18 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006662/0.1541, allocations: 3.215 MB / 0.6643 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.1568, allocations: 1.841 MB / 0.6661 GB, free: 12.06 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.1579, allocations: 0.8962 MB / 0.667 GB, free: 11.17 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.737e-05/0.158, allocations: 13.22 kB / 0.667 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.158, allocations: 55.44 kB / 0.6671 GB, free: 11.09 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=118): time 3.286e-06/0.158, allocations: 3.938 kB / 0.6671 GB, free: 11.09 MB / 0.5139 GB Notification: Performance of matching and sorting (n=118): time 0.003098/0.1612, allocations: 2.252 MB / 0.6693 GB, free: 8.828 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1612, allocations: 60.41 kB / 0.6693 GB, free: 8.758 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/0.1617, allocations: 0.5056 MB / 0.6698 GB, free: 8.246 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.1618, allocations: 49.7 kB / 0.6699 GB, free: 8.191 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.162, allocations: 269.9 kB / 0.6701 GB, free: 7.922 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/0.1624, allocations: 483.9 kB / 0.6706 GB, free: 7.445 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003872/0.1628, allocations: 279.6 kB / 0.6708 GB, free: 7.164 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1629, allocations: 338 kB / 0.6712 GB, free: 6.828 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.1641, allocations: 0.8898 MB / 0.672 GB, free: 5.938 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.1654, allocations: 1.083 MB / 0.6731 GB, free: 4.816 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.1677, allocations: 1.945 MB / 0.675 GB, free: 2.832 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.1677, allocations: 4 kB / 0.675 GB, free: 2.828 MB / 0.5139 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.002972/0.1707, allocations: 2.245 MB / 0.6772 GB, free: 0.5742 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1708, allocations: 11.94 kB / 0.6772 GB, free: 0.5625 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.1708, allocations: 4 kB / 0.6772 GB, free: 0.5586 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.1708, allocations: 8 kB / 0.6772 GB, free: 0.5508 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.1727, allocations: 479.8 kB / 0.6777 GB, free: 84 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/0.1727, allocations: 15.92 kB / 0.6777 GB, free: 68 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000791/0.1735, allocations: 191 kB / 0.6779 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.343e-05/0.1736, allocations: 48 kB / 0.6779 GB, free: 15.83 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (184): * Single equations (assignments): 184 * 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.0004355/0.174, allocations: 350.1 kB / 0.6783 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.1742, allocations: 75.47 kB / 0.6783 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.1767, allocations: 1.864 MB / 0.6801 GB, free: 13.53 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.1767, allocations: 16 kB / 0.6802 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.1768, allocations: 4 kB / 0.6802 GB, free: 13.51 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.1768, allocations: 7.969 kB / 0.6802 GB, free: 13.5 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.1781, allocations: 1.134 MB / 0.6813 GB, free: 12.32 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.1781, allocations: 0 / 0.6813 GB, free: 12.32 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/0.1801, allocations: 443.4 kB / 0.6817 GB, free: 11.89 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.1801, allocations: 4 kB / 0.6817 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.1803, allocations: 63.94 kB / 0.6818 GB, free: 11.82 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1803, allocations: 8 kB / 0.6818 GB, free: 11.81 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1803, allocations: 0 / 0.6818 GB, free: 11.81 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/0.1835, allocations: 2.712 MB / 0.6844 GB, free: 9.082 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000586/0.1841, allocations: 340.1 kB / 0.6847 GB, free: 8.73 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.1843, allocations: 55.95 kB / 0.6848 GB, free: 8.676 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006086/0.1849, allocations: 99.83 kB / 0.6849 GB, free: 8.578 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.1851, allocations: 73.2 kB / 0.685 GB, free: 8.504 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/0.1851, allocations: 32 kB / 0.685 GB, free: 8.473 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0003363/0.1855, allocations: 355 kB / 0.6853 GB, free: 8.133 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1855, allocations: 4 kB / 0.6853 GB, free: 8.129 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0006769/0.1862, allocations: 291.8 kB / 0.6856 GB, free: 7.844 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 49 (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,generator[3].theta,generator[3].omega,generator[3].p,generator[3].q_ev,generator[3].y_t,generator[3].p_t_lp,generator[3].T_s[1],generator[3].T_s[2],generator[3].T_s[3],generator[3].T_s[4],generator[3].err_p_t_int,generator[3].err_p_int,generator[4].theta,generator[4].omega,generator[4].p,generator[4].q_ev,generator[4].y_t,generator[4].p_t_lp,generator[4].T_s[1],generator[4].T_s[2],generator[4].T_s[3],generator[4].T_s[4],generator[4].err_p_t_int,generator[4].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 (130): * Single equations (assignments): 130 * 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.00357/0.1897, allocations: 3.331 MB / 0.6889 GB, free: 4.488 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002489/0.1922, allocations: 1.889 MB / 0.6907 GB, free: 2.598 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1923, allocations: 0 / 0.6907 GB, free: 2.598 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.1933, allocations: 0.8661 MB / 0.6916 GB, free: 1.73 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.1937, allocations: 58.78 kB / 0.6916 GB, free: 1.672 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.2091, allocations: 13.63 MB / 0.7049 GB, free: 3.816 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/0.2098, allocations: 1.131 MB / 0.706 GB, free: 2.656 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001098/0.2109, allocations: 0.5603 MB / 0.7066 GB, free: 2.09 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/0.2115, allocations: 291.3 kB / 0.7069 GB, free: 1.805 MB / 0.5452 GB Notification: Performance of SimCode: time 2.234e-06/0.2115, allocations: 0 / 0.7069 GB, free: 1.805 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04138/0.2528, allocations: 19.82 MB / 0.7262 GB, free: 14.2 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.877/9.13, allocations: 14.25 kB / 0.7262 GB, free: 14.19 MB / 0.5764 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.csv --start-time 0 --stop-time 200 --timeout 300 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.05 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches