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.001445/0.001445, allocations: 106.6 kB / 17.06 MB, free: 5.832 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.001426/0.001426, allocations: 195.9 kB / 18.01 MB, free: 4.961 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.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.934/0.934, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 62.72 kB / 0.5705 GB, free: 40.06 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1304, allocations: 80.7 MB / 0.6493 GB, free: 13.53 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4): time 0.002742/0.1332, allocations: 1.826 MB / 0.6511 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009819/0.1342, allocations: 0.5575 MB / 0.6516 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.1342, allocations: 0 / 0.6516 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.1344, allocations: 23.72 kB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1346, allocations: 63.59 kB / 0.6517 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1348, allocations: 83.81 kB / 0.6518 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007089/0.1356, allocations: 0.6441 MB / 0.6524 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.35e-05/0.1357, allocations: 44.73 kB / 0.6524 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.136, allocations: 259.3 kB / 0.6527 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.1364, allocations: 283.1 kB / 0.6529 GB, free: 9.738 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.894e-05/0.1365, allocations: 40 kB / 0.653 GB, free: 9.699 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.415e-05/0.1366, allocations: 40 kB / 0.653 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.1368, allocations: 147.6 kB / 0.6532 GB, free: 9.516 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.137, allocations: 222.9 kB / 0.6534 GB, free: 9.297 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005271/0.1376, allocations: 0.5296 MB / 0.6539 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1376, allocations: 0 / 0.6539 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1376, allocations: 0 / 0.6539 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.1376, allocations: 4 kB / 0.6539 GB, free: 8.762 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.00209/0.1397, allocations: 0.9585 MB / 0.6548 GB, free: 7.754 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1398, allocations: 8.031 kB / 0.6548 GB, free: 7.746 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.747e-05/0.1399, allocations: 78.7 kB / 0.6549 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.347e-05/0.14, allocations: 44.66 kB / 0.655 GB, free: 7.617 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.1405, allocations: 350.8 kB / 0.6553 GB, free: 7.234 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.453e-05/0.1405, allocations: 33.02 kB / 0.6553 GB, free: 7.199 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.1407, allocations: 76.42 kB / 0.6554 GB, free: 7.125 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008303/0.1416, allocations: 0.525 MB / 0.6559 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1416, allocations: 4 kB / 0.6559 GB, free: 6.59 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.1416, allocations: 8 kB / 0.6559 GB, free: 6.582 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.1417, allocations: 16.66 kB / 0.6559 GB, free: 6.566 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007731/0.1424, allocations: 0.4982 MB / 0.6564 GB, free: 6.066 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.1457, allocations: 1.584 MB / 0.658 GB, free: 4.434 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.1473, allocations: 0.8787 MB / 0.6588 GB, free: 3.543 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.1478, allocations: 377.9 kB / 0.6592 GB, free: 3.172 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.1479, allocations: 8.438 kB / 0.6592 GB, free: 3.164 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1479, allocations: 35 kB / 0.6592 GB, free: 3.121 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=52): time 2.335e-06/0.1479, allocations: 0 / 0.6592 GB, free: 3.121 MB / 0.4983 GB Notification: Performance of matching and sorting (n=52): time 0.001572/0.1495, allocations: 1 MB / 0.6602 GB, free: 2.117 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.1496, allocations: 55.84 kB / 0.6603 GB, free: 2.051 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.1499, allocations: 310.7 kB / 0.6606 GB, free: 1.734 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.15, allocations: 41.7 kB / 0.6606 GB, free: 1.688 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1501, allocations: 177 kB / 0.6608 GB, free: 1.512 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.1503, allocations: 214.2 kB / 0.661 GB, free: 1.301 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.1505, allocations: 138.6 kB / 0.6611 GB, free: 1.16 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1507, allocations: 350.8 kB / 0.6614 GB, free: 0.8086 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006082/0.1513, allocations: 417.6 kB / 0.6618 GB, free: 408 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000673/0.152, allocations: 0.4933 MB / 0.6623 GB, free: 15.88 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.1532, allocations: 0.8702 MB / 0.6632 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.1532, allocations: 4 kB / 0.6632 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001528/0.1548, allocations: 1.036 MB / 0.6642 GB, free: 13.93 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1548, allocations: 4 kB / 0.6642 GB, free: 13.93 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.1548, allocations: 7.938 kB / 0.6642 GB, free: 13.92 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1548, allocations: 4 kB / 0.6642 GB, free: 13.92 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009353/0.1558, allocations: 227.7 kB / 0.6644 GB, free: 13.7 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1558, allocations: 7.938 kB / 0.6644 GB, free: 13.69 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.1562, allocations: 91.48 kB / 0.6645 GB, free: 13.6 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.1562, allocations: 20 kB / 0.6645 GB, free: 13.58 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.0002683/0.1565, allocations: 229.6 kB / 0.6647 GB, free: 13.34 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/0.1566, allocations: 35.77 kB / 0.6648 GB, free: 13.31 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.1579, allocations: 0.8021 MB / 0.6656 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.1579, allocations: 4 kB / 0.6656 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1579, allocations: 7.922 kB / 0.6656 GB, free: 12.49 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.1579, allocations: 4 kB / 0.6656 GB, free: 12.49 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007328/0.1587, allocations: 0.5755 MB / 0.6661 GB, free: 11.86 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1587, allocations: 4 kB / 0.6661 GB, free: 11.86 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.1597, allocations: 211.7 kB / 0.6663 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1597, allocations: 0 / 0.6663 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.109e-05/0.1598, allocations: 31.92 kB / 0.6664 GB, free: 11.62 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.1598, allocations: 7.984 kB / 0.6664 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1598, allocations: 0 / 0.6664 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.1615, allocations: 1.223 MB / 0.6676 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.1617, allocations: 192.7 kB / 0.6678 GB, free: 10.17 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.207e-05/0.1618, allocations: 23.92 kB / 0.6678 GB, free: 10.14 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003213/0.1621, allocations: 47.92 kB / 0.6678 GB, free: 10.1 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.31e-05/0.1622, allocations: 36.39 kB / 0.6679 GB, free: 10.06 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.1623, allocations: 12 kB / 0.6679 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0002309/0.1625, allocations: 225.9 kB / 0.6681 GB, free: 9.832 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1625, allocations: 0 / 0.6681 GB, free: 9.832 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004109/0.1629, allocations: 127.9 kB / 0.6682 GB, free: 9.707 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.002019/0.165, allocations: 1.802 MB / 0.67 GB, free: 7.879 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.1663, allocations: 0.8298 MB / 0.6708 GB, free: 7.047 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1663, allocations: 0 / 0.6708 GB, free: 7.047 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005166/0.1668, allocations: 370.2 kB / 0.6711 GB, free: 6.688 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1671, allocations: 32.53 kB / 0.6712 GB, free: 6.66 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008852/0.176, allocations: 6.981 MB / 0.678 GB, free: 15.55 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.1766, allocations: 0.9052 MB / 0.6789 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0005307/0.1771, allocations: 254.9 kB / 0.6791 GB, free: 14.38 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.1774, allocations: 127.4 kB / 0.6792 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of SimCode: time 2.315e-06/0.1774, allocations: 0 / 0.6792 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.2134, allocations: 9.638 MB / 0.6886 GB, free: 4.809 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.52/8.733, allocations: 14.28 kB / 0.6887 GB, free: 4.801 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