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.001279/0.001279, allocations: 109 kB / 17.05 MB, free: 6.055 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.001168/0.001167, allocations: 195.9 kB / 17.99 MB, free: 5.156 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.314/1.314, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9212/0.9212, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 66.45 kB / 0.5705 GB, free: 39.96 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.132, allocations: 80.69 MB / 0.6493 GB, free: 13.52 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4): time 0.00263/0.1347, allocations: 1.826 MB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009959/0.1357, allocations: 0.5536 MB / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.1358, allocations: 0 / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.1359, allocations: 23.77 kB / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.1361, allocations: 63.55 kB / 0.6517 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1364, allocations: 79.81 kB / 0.6517 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001292/0.1377, allocations: 1.352 MB / 0.6531 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1378, allocations: 85.75 kB / 0.6531 GB, free: 9.512 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.1383, allocations: 0.5028 MB / 0.6536 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007666/0.1391, allocations: 0.5647 MB / 0.6542 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.1393, allocations: 84 kB / 0.6543 GB, free: 8.359 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.1395, allocations: 88 kB / 0.6544 GB, free: 8.273 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.1398, allocations: 323.1 kB / 0.6547 GB, free: 7.957 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004937/0.1403, allocations: 457.9 kB / 0.6551 GB, free: 7.508 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.1413, allocations: 1.133 MB / 0.6562 GB, free: 6.371 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1413, allocations: 4 kB / 0.6562 GB, free: 6.367 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1413, allocations: 0 / 0.6562 GB, free: 6.367 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.1414, 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.003723/0.1451, allocations: 1.672 MB / 0.6578 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1451, allocations: 8.031 kB / 0.6578 GB, free: 4.637 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.1453, allocations: 114.7 kB / 0.658 GB, free: 4.516 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.1455, allocations: 92.38 kB / 0.658 GB, free: 4.426 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007772/0.1462, allocations: 0.5488 MB / 0.6586 GB, free: 3.84 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/0.1463, allocations: 66.38 kB / 0.6586 GB, free: 3.773 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003754/0.1467, allocations: 144.3 kB / 0.6588 GB, free: 3.633 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.1484, allocations: 1.151 MB / 0.6599 GB, free: 2.477 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.1484, allocations: 3.953 kB / 0.6599 GB, free: 2.473 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/0.1485, allocations: 28 kB / 0.6599 GB, free: 2.445 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.1485, allocations: 26 kB / 0.66 GB, free: 2.422 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.1504, allocations: 1.233 MB / 0.6612 GB, free: 1.184 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006455/0.1568, allocations: 3.218 MB / 0.6643 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/0.1598, allocations: 1.84 MB / 0.6661 GB, free: 12.06 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.161, allocations: 0.8892 MB / 0.667 GB, free: 11.17 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.181e-05/0.1611, allocations: 9.438 kB / 0.667 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.1611, allocations: 51.44 kB / 0.667 GB, free: 11.11 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=118): time 2.384e-06/0.1611, allocations: 4 kB / 0.667 GB, free: 11.1 MB / 0.5139 GB Notification: Performance of matching and sorting (n=118): time 0.00339/0.1645, allocations: 2.256 MB / 0.6692 GB, free: 8.836 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.1646, allocations: 72.34 kB / 0.6693 GB, free: 8.754 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005622/0.1652, allocations: 0.5056 MB / 0.6698 GB, free: 8.242 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.274e-05/0.1653, allocations: 49.7 kB / 0.6699 GB, free: 8.188 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.1655, allocations: 270 kB / 0.6701 GB, free: 7.918 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.1659, allocations: 479.9 kB / 0.6706 GB, free: 7.445 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004227/0.1663, allocations: 275.6 kB / 0.6708 GB, free: 7.168 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1665, allocations: 334 kB / 0.6711 GB, free: 6.836 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.1678, allocations: 0.8977 MB / 0.672 GB, free: 5.938 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.1692, allocations: 1.079 MB / 0.6731 GB, free: 4.816 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/0.1719, allocations: 1.949 MB / 0.675 GB, free: 2.828 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1719, allocations: 0 / 0.675 GB, free: 2.828 MB / 0.5139 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.00336/0.1753, allocations: 2.246 MB / 0.6772 GB, free: 0.5742 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.1753, allocations: 7.938 kB / 0.6772 GB, free: 0.5664 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1753, allocations: 4 kB / 0.6772 GB, free: 0.5625 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.1754, allocations: 12 kB / 0.6772 GB, free: 0.5508 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.1773, allocations: 475.4 kB / 0.6776 GB, free: 88 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/0.1773, allocations: 11.94 kB / 0.6777 GB, free: 76 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/0.1782, allocations: 191 kB / 0.6778 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.1783, allocations: 48.2 kB / 0.6779 GB, free: 15.84 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.0004885/0.1788, allocations: 350.2 kB / 0.6782 GB, free: 15.49 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.1789, allocations: 83.47 kB / 0.6783 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/0.1819, allocations: 1.864 MB / 0.6801 GB, free: 13.53 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.1819, allocations: 12 kB / 0.6801 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1819, allocations: 4 kB / 0.6801 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.1819, allocations: 3.984 kB / 0.6801 GB, free: 13.51 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.1834, allocations: 1.134 MB / 0.6812 GB, free: 12.33 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1835, allocations: 4 kB / 0.6813 GB, free: 12.32 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00211/0.1856, allocations: 451.5 kB / 0.6817 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.1856, allocations: 7.938 kB / 0.6817 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.1857, allocations: 55.95 kB / 0.6817 GB, free: 11.82 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.1857, allocations: 4 kB / 0.6817 GB, free: 11.82 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1858, allocations: 3.984 kB / 0.6818 GB, free: 11.81 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003738/0.1895, allocations: 2.716 MB / 0.6844 GB, free: 9.078 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005134/0.19, allocations: 340.1 kB / 0.6847 GB, free: 8.727 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.1902, allocations: 59.94 kB / 0.6848 GB, free: 8.668 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.1908, allocations: 95.86 kB / 0.6849 GB, free: 8.574 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.191, allocations: 73.2 kB / 0.6849 GB, free: 8.5 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.516e-05/0.1911, allocations: 31.98 kB / 0.685 GB, free: 8.469 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0003881/0.1915, allocations: 351.1 kB / 0.6853 GB, free: 8.133 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1915, allocations: 0 / 0.6853 GB, free: 8.133 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0007216/0.1922, allocations: 287.9 kB / 0.6856 GB, free: 7.852 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.00411/0.1963, allocations: 3.331 MB / 0.6888 GB, free: 4.496 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002799/0.1992, allocations: 1.896 MB / 0.6907 GB, free: 2.598 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.1992, allocations: 0 / 0.6907 GB, free: 2.598 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.2003, allocations: 0.8622 MB / 0.6915 GB, free: 1.734 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.2008, allocations: 61.62 kB / 0.6916 GB, free: 1.676 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/0.2184, allocations: 13.63 MB / 0.7049 GB, free: 3.824 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007409/0.2192, allocations: 1.135 MB / 0.706 GB, free: 2.664 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.00114/0.2203, allocations: 0.5603 MB / 0.7066 GB, free: 2.098 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005584/0.2209, allocations: 291.3 kB / 0.7068 GB, free: 1.812 MB / 0.5452 GB Notification: Performance of SimCode: time 5.01e-07/0.2209, allocations: 7.938 kB / 0.7068 GB, free: 1.805 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04578/0.2667, allocations: 19.83 MB / 0.7262 GB, free: 14.2 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.401/9.668, allocations: 10.81 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