Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.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.Verification.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",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.0009012/0.0009013, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.00101/0.00101, allocations: 175.5 kB / 17.56 MB, free: 6.18 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.506/1.506, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.149/1.149, allocations: 120.5 MB / 413.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003485, allocations: 8 kB / 0.495 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6802/0.6806, allocations: 82.84 MB / 0.5759 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.001596/0.6822, allocations: 1.5 MB / 0.5774 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.6833, allocations: 0.5501 MB / 0.5779 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.6834, allocations: 0 / 0.5779 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.6835, allocations: 20.88 kB / 0.5779 GB, free: 39.56 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.6837, allocations: 61.03 kB / 0.578 GB, free: 39.51 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.684, allocations: 70.47 kB / 0.578 GB, free: 39.45 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.6845, allocations: 428.1 kB / 0.5785 GB, free: 39.22 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.6846, allocations: 22.33 kB / 0.5785 GB, free: 39.21 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.6848, allocations: 115.4 kB / 0.5786 GB, free: 39.15 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.685, allocations: 133.1 kB / 0.5787 GB, free: 39.07 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.6851, allocations: 10.75 kB / 0.5787 GB, free: 39.07 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.11e-05/0.6851, allocations: 10.75 kB / 0.5787 GB, free: 39.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.6852, allocations: 60.92 kB / 0.5788 GB, free: 39.03 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.6853, allocations: 127.5 kB / 0.5789 GB, free: 38.93 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.6856, allocations: 256.5 kB / 0.5792 GB, free: 38.76 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.6856, allocations: 3.938 kB / 0.5792 GB, free: 38.76 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.016e-06/0.6856, allocations: 0 / 0.5792 GB, free: 38.76 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.6856, allocations: 4 kB / 0.5792 GB, free: 38.75 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001228/0.6869, allocations: 0.5886 MB / 0.5797 GB, free: 38.25 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.6869, allocations: 9.125 kB / 0.5798 GB, free: 38.25 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.989e-05/0.687, allocations: 49.67 kB / 0.5798 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.6871, allocations: 25.22 kB / 0.5798 GB, free: 38.19 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.6877, allocations: 268.1 kB / 0.5801 GB, free: 37.94 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.6877, allocations: 17.23 kB / 0.5801 GB, free: 37.93 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.6879, allocations: 35.92 kB / 0.5801 GB, free: 37.91 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.6883, allocations: 303.8 kB / 0.5804 GB, free: 37.73 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.6884, allocations: 0 / 0.5804 GB, free: 37.73 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.6884, allocations: 5.188 kB / 0.5804 GB, free: 37.72 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.6884, allocations: 9.969 kB / 0.5804 GB, free: 37.72 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.6888, allocations: 231.7 kB / 0.5807 GB, free: 37.61 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.6908, allocations: 1.105 MB / 0.5817 GB, free: 36.83 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.6921, allocations: 440.6 kB / 0.5822 GB, free: 36.62 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.6923, allocations: 164.5 kB / 0.5823 GB, free: 36.54 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.6923, allocations: 6.688 kB / 0.5823 GB, free: 36.53 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.6924, allocations: 32.41 kB / 0.5823 GB, free: 36.49 MB / 462.3 MB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.6924, allocations: 4 kB / 0.5824 GB, free: 36.49 MB / 462.3 MB Notification: Performance of matching and sorting (n=23): time 0.0007825/0.6932, allocations: 487.6 kB / 0.5828 GB, free: 36.23 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.6932, allocations: 54.72 kB / 0.5829 GB, free: 36.17 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.6934, allocations: 216.4 kB / 0.5831 GB, free: 36.01 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.6934, allocations: 31.23 kB / 0.5831 GB, free: 35.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/0.6935, allocations: 125.1 kB / 0.5832 GB, free: 35.86 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/0.6936, allocations: 98.36 kB / 0.5833 GB, free: 35.77 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.6937, allocations: 39.52 kB / 0.5834 GB, free: 35.74 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.6937, allocations: 333.6 kB / 0.5837 GB, free: 35.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.694, allocations: 196.9 kB / 0.5839 GB, free: 35.32 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.6944, allocations: 235.2 kB / 0.5841 GB, free: 35.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/0.6949, allocations: 422.7 kB / 0.5845 GB, free: 34.95 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6949, allocations: 0 / 0.5845 GB, free: 34.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001033/0.696, allocations: 0.5059 MB / 0.585 GB, free: 34.69 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.696, allocations: 6.281 kB / 0.585 GB, free: 34.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.696, allocations: 1.281 kB / 0.585 GB, free: 34.69 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.696, allocations: 2.531 kB / 0.585 GB, free: 34.69 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.6965, allocations: 109.7 kB / 0.5851 GB, free: 34.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.6965, allocations: 7.766 kB / 0.5851 GB, free: 34.66 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.6968, allocations: 49.59 kB / 0.5852 GB, free: 34.62 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.6968, allocations: 15.59 kB / 0.5852 GB, free: 34.62 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (41): * Single equations (assignments): 41 * 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.000158/0.697, allocations: 165.7 kB / 0.5853 GB, free: 34.47 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.697, allocations: 20.56 kB / 0.5853 GB, free: 34.46 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.6971, allocations: 39.48 kB / 0.5854 GB, free: 34.42 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.6972, allocations: 1.844 kB / 0.5854 GB, free: 34.42 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.6972, allocations: 4.875 kB / 0.5854 GB, free: 34.42 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.6972, allocations: 0 / 0.5854 GB, free: 34.42 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.6976, allocations: 357.6 kB / 0.5857 GB, free: 34.11 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6977, allocations: 7.938 kB / 0.5857 GB, free: 34.1 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/0.6982, allocations: 95.95 kB / 0.5858 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.6982, allocations: 0.9062 kB / 0.5858 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.6983, allocations: 14.45 kB / 0.5858 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.6983, allocations: 0.9062 kB / 0.5858 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6983, allocations: 0.9375 kB / 0.5858 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008514/0.6991, allocations: 0.6161 MB / 0.5864 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.6993, allocations: 131.5 kB / 0.5866 GB, free: 33.57 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.6993, allocations: 17.77 kB / 0.5866 GB, free: 33.56 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.6995, allocations: 20.31 kB / 0.5866 GB, free: 33.55 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.6996, allocations: 10.42 kB / 0.5866 GB, free: 33.55 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.6996, allocations: 3.938 kB / 0.5866 GB, free: 33.55 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001361/0.6997, allocations: 159.5 kB / 0.5868 GB, free: 33.43 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6997, allocations: 0 / 0.5868 GB, free: 33.43 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005019/0.7002, allocations: 63.12 kB / 0.5868 GB, free: 33.42 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (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) * 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 (23): * Single equations (assignments): 23 * 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.001055/0.7013, allocations: 1.169 MB / 0.588 GB, free: 32.51 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006238/0.702, allocations: 389.2 kB / 0.5883 GB, free: 32.34 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.702, allocations: 1.531 kB / 0.5883 GB, free: 32.34 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.7022, allocations: 159.8 kB / 0.5885 GB, free: 32.27 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.7025, allocations: 13.75 kB / 0.5885 GB, free: 32.26 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.7071, allocations: 4.255 MB / 0.5927 GB, free: 28.48 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.7074, allocations: 0.7944 MB / 0.5934 GB, free: 27.66 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000262/0.7077, allocations: 113.8 kB / 0.5936 GB, free: 27.55 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.7078, allocations: 59.42 kB / 0.5936 GB, free: 27.5 MB / 462.3 MB Notification: Performance of SimCode: time 1.222e-06/0.7078, allocations: 0 / 0.5936 GB, free: 27.5 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.724, allocations: 4.806 MB / 0.5983 GB, free: 22.91 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.7242, allocations: 242 kB / 0.5985 GB, free: 22.65 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.901, allocations: 4.062 kB / 0.5985 GB, free: 22.65 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad_fmu --startTime=0 --stopTime=500 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches