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.001396/0.001396, allocations: 111 kB / 16.92 MB, free: 5.676 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.001696/0.001695, allocations: 190.8 kB / 17.85 MB, free: 5.176 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.519/1.519, allocations: 222.9 MB / 241.6 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.26/1.26, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 71.81 kB / 0.4911 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6435/0.6449, allocations: 80.68 MB / 0.5699 GB, free: 43.44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4): time 0.003289/0.6482, allocations: 1.821 MB / 0.5716 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.6493, allocations: 0.5531 MB / 0.5722 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.71e-05/0.6494, allocations: 3.938 kB / 0.5722 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.6495, allocations: 25.03 kB / 0.5722 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.6498, allocations: 73.95 kB / 0.5723 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.65, allocations: 65.34 kB / 0.5723 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006593/0.6507, allocations: 0.6585 MB / 0.573 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.6508, allocations: 46.7 kB / 0.573 GB, free: 41 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.6512, allocations: 254.7 kB / 0.5733 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.6516, allocations: 282.7 kB / 0.5735 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.6517, allocations: 38.5 kB / 0.5736 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.6518, allocations: 39.22 kB / 0.5736 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.652, allocations: 151 kB / 0.5738 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.6524, allocations: 212.2 kB / 0.574 GB, free: 40.46 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.6535, allocations: 0.5256 MB / 0.5745 GB, free: 40.12 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-05/0.6536, allocations: 1.5 kB / 0.5745 GB, free: 40.12 MB / 462.3 MB Notification: Performance of FrontEnd: time 4.739e-06/0.6536, allocations: 0 / 0.5745 GB, free: 40.12 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.066e-05/0.6537, allocations: 0 / 0.5745 GB, free: 40.12 MB / 462.3 MB 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.00228/0.6559, allocations: 0.9487 MB / 0.5754 GB, free: 39.43 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.656, allocations: 10.5 kB / 0.5754 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.758e-05/0.6561, allocations: 67.53 kB / 0.5755 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.6562, allocations: 46.66 kB / 0.5755 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.6568, allocations: 355.6 kB / 0.5759 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.6568, allocations: 33.31 kB / 0.5759 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.6571, allocations: 66.52 kB / 0.5759 GB, free: 39.01 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008171/0.6579, allocations: 0.5304 MB / 0.5765 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.658, allocations: 5.188 kB / 0.5765 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.658, allocations: 18.64 kB / 0.5765 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.6581, allocations: 12.12 kB / 0.5765 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.6588, allocations: 0.5031 MB / 0.577 GB, free: 38.44 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003551/0.6624, allocations: 1.578 MB / 0.5785 GB, free: 37.48 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.6639, allocations: 0.8668 MB / 0.5794 GB, free: 37.06 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000487/0.6645, allocations: 379.6 kB / 0.5797 GB, free: 36.88 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.6645, allocations: 5.5 kB / 0.5797 GB, free: 36.88 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.6645, allocations: 37.5 kB / 0.5798 GB, free: 36.84 MB / 462.3 MB Notification: Performance of pre-optimization done (n=52): time 2.685e-06/0.6645, allocations: 4 kB / 0.5798 GB, free: 36.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=52): time 0.001713/0.6663, allocations: 1 MB / 0.5808 GB, free: 36.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.6663, allocations: 58.16 kB / 0.5808 GB, free: 36.28 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.6666, allocations: 313.4 kB / 0.5811 GB, free: 36.07 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.6667, allocations: 36.23 kB / 0.5812 GB, free: 36.03 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.6668, allocations: 173.1 kB / 0.5813 GB, free: 35.88 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.667, allocations: 210.2 kB / 0.5815 GB, free: 35.69 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.6672, allocations: 129.2 kB / 0.5816 GB, free: 35.62 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.6673, allocations: 360.7 kB / 0.582 GB, free: 35.27 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/0.6679, allocations: 416.9 kB / 0.5824 GB, free: 35.08 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.6685, allocations: 0.493 MB / 0.5829 GB, free: 34.8 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.6698, allocations: 0.8764 MB / 0.5837 GB, free: 34.32 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.6698, allocations: 1.438 kB / 0.5837 GB, free: 34.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001749/0.6715, allocations: 1.032 MB / 0.5847 GB, free: 33.82 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.6716, allocations: 5.594 kB / 0.5847 GB, free: 33.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.6716, allocations: 9.25 kB / 0.5847 GB, free: 33.81 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.6716, allocations: 4.688 kB / 0.5847 GB, free: 33.81 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009681/0.6726, allocations: 226.1 kB / 0.585 GB, free: 33.75 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.6726, allocations: 5.625 kB / 0.585 GB, free: 33.75 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.6731, allocations: 84.91 kB / 0.5851 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/0.6731, allocations: 23.67 kB / 0.5851 GB, free: 33.69 MB / 462.3 MB 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.0002796/0.6734, allocations: 230.5 kB / 0.5853 GB, free: 33.5 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.053e-05/0.6735, allocations: 32.03 kB / 0.5853 GB, free: 33.49 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.6746, allocations: 0.8028 MB / 0.5861 GB, free: 32.69 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.6746, allocations: 4 kB / 0.5861 GB, free: 32.69 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6746, allocations: 0 / 0.5861 GB, free: 32.69 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.6747, allocations: 3.984 kB / 0.5861 GB, free: 32.68 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006278/0.6753, allocations: 0.5832 MB / 0.5867 GB, free: 32.05 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6753, allocations: 0 / 0.5867 GB, free: 32.05 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009245/0.6762, allocations: 207.7 kB / 0.5869 GB, free: 31.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.6763, allocations: 4 kB / 0.5869 GB, free: 31.84 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.6763, allocations: 31.91 kB / 0.5869 GB, free: 31.81 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.6763, allocations: 0 / 0.5869 GB, free: 31.81 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6763, allocations: 0 / 0.5869 GB, free: 31.81 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.6776, allocations: 1.223 MB / 0.5881 GB, free: 30.57 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.6778, allocations: 188.5 kB / 0.5883 GB, free: 30.37 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/0.6779, allocations: 27.92 kB / 0.5883 GB, free: 30.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.6783, allocations: 47.94 kB / 0.5884 GB, free: 30.29 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.6784, allocations: 28.39 kB / 0.5884 GB, free: 30.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.6784, allocations: 19.98 kB / 0.5884 GB, free: 30.25 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001811/0.6786, allocations: 221.9 kB / 0.5886 GB, free: 30.04 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6786, allocations: 0 / 0.5886 GB, free: 30.04 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005295/0.6791, allocations: 127.9 kB / 0.5887 GB, free: 29.91 MB / 462.3 MB 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.002007/0.6811, allocations: 1.809 MB / 0.5905 GB, free: 28.07 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.6826, allocations: 1.052 MB / 0.5915 GB, free: 27.02 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6826, allocations: 0 / 0.5915 GB, free: 27.02 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.683, allocations: 366.2 kB / 0.5919 GB, free: 26.66 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.6834, allocations: 29.33 kB / 0.5919 GB, free: 26.64 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007157/0.6905, allocations: 7.022 MB / 0.5988 GB, free: 19.48 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.6909, allocations: 0.8975 MB / 0.5997 GB, free: 18.56 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005274/0.6915, allocations: 251 kB / 0.5999 GB, free: 18.31 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.6917, allocations: 131.4 kB / 0.6 GB, free: 18.18 MB / 462.3 MB Notification: Performance of SimCode: time 1.213e-06/0.6917, allocations: 4 kB / 0.6 GB, free: 18.18 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.7248, allocations: 9.462 MB / 0.6093 GB, free: 8.898 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.343/10.07, allocations: 9.438 kB / 0.6093 GB, free: 8.895 MB / 462.3 MB (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