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.001835/0.001836, allocations: 100.4 kB / 16.62 MB, free: 6.812 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.00147/0.00147, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.601/1.601, allocations: 222.9 MB / 241.2 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.372/1.372, allocations: 119.3 MB / 410.7 MB, free: 9.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.4905 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6157/0.6169, allocations: 80.68 MB / 0.5693 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.002734/0.6197, allocations: 1.858 MB / 0.5711 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009901/0.6207, allocations: 0.5532 MB / 0.5717 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.6208, allocations: 0 / 0.5717 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.6209, allocations: 21.91 kB / 0.5717 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004484/0.6214, allocations: 60 kB / 0.5718 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.622, allocations: 70.75 kB / 0.5718 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007116/0.6227, allocations: 343.1 kB / 0.5722 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.741e-05/0.6228, allocations: 29.3 kB / 0.5722 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.623, allocations: 140.2 kB / 0.5723 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.6233, allocations: 154.7 kB / 0.5725 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.6233, allocations: 19.25 kB / 0.5725 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.812e-05/0.6234, allocations: 19.25 kB / 0.5725 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.6235, allocations: 73.75 kB / 0.5726 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.6236, allocations: 113.8 kB / 0.5727 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.6239, allocations: 261.7 kB / 0.5729 GB, free: 40.33 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.6239, allocations: 3.938 kB / 0.5729 GB, free: 40.33 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.275e-06/0.6239, allocations: 1.062 kB / 0.5729 GB, free: 40.33 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.6239, allocations: 0 / 0.5729 GB, free: 40.33 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.00126/0.6251, allocations: 0.6385 MB / 0.5736 GB, free: 39.79 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.6252, allocations: 14.05 kB / 0.5736 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.6253, allocations: 49.02 kB / 0.5736 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.6253, allocations: 20.41 kB / 0.5736 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.6256, allocations: 260.8 kB / 0.5739 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.6257, allocations: 16.64 kB / 0.5739 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.6258, allocations: 33.52 kB / 0.5739 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.6263, allocations: 314.9 kB / 0.5742 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.6263, allocations: 0 / 0.5742 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.6264, allocations: 5.188 kB / 0.5742 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.6264, allocations: 5.75 kB / 0.5743 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.6268, allocations: 228.7 kB / 0.5745 GB, free: 39.16 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.6289, allocations: 1.101 MB / 0.5755 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009006/0.6298, allocations: 436.5 kB / 0.576 GB, free: 38.16 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.63, allocations: 168.1 kB / 0.5761 GB, free: 38.08 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.6301, allocations: 10.22 kB / 0.5761 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.6301, allocations: 37.06 kB / 0.5762 GB, free: 38.03 MB / 462.3 MB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.6301, allocations: 0 / 0.5762 GB, free: 38.03 MB / 462.3 MB Notification: Performance of matching and sorting (n=23): time 0.0007462/0.6308, allocations: 480.5 kB / 0.5766 GB, free: 37.78 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.6309, allocations: 54.69 kB / 0.5767 GB, free: 37.71 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.6311, allocations: 214.6 kB / 0.5769 GB, free: 37.56 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.6311, allocations: 30.95 kB / 0.5769 GB, free: 37.52 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.6312, allocations: 138.3 kB / 0.577 GB, free: 37.39 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.6312, allocations: 89.66 kB / 0.5771 GB, free: 37.32 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.6314, allocations: 76.25 kB / 0.5772 GB, free: 37.27 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6315, allocations: 329.6 kB / 0.5775 GB, free: 36.94 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.6318, allocations: 192.7 kB / 0.5777 GB, free: 36.84 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.632, allocations: 239.5 kB / 0.5779 GB, free: 36.7 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.6325, allocations: 431.3 kB / 0.5783 GB, free: 36.46 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6325, allocations: 0 / 0.5783 GB, free: 36.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006534/0.6332, allocations: 0.4941 MB / 0.5788 GB, free: 36.21 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.6332, allocations: 8.125 kB / 0.5788 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6332, allocations: 5.125 kB / 0.5788 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.6333, allocations: 7.703 kB / 0.5788 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.6338, allocations: 105.5 kB / 0.5789 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.6338, allocations: 10.7 kB / 0.579 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.634, allocations: 45.47 kB / 0.579 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.634, allocations: 8.312 kB / 0.579 GB, free: 36.14 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.0001466/0.6342, allocations: 161.7 kB / 0.5792 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.6342, allocations: 23.94 kB / 0.5792 GB, free: 35.98 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.827e-05/0.6343, allocations: 43.41 kB / 0.5792 GB, free: 35.95 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.6343, allocations: 6.766 kB / 0.5792 GB, free: 35.94 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.6343, allocations: 4.844 kB / 0.5792 GB, free: 35.94 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6344, allocations: 0 / 0.5792 GB, free: 35.94 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.6347, allocations: 352.9 kB / 0.5796 GB, free: 35.63 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6347, allocations: 4.844 kB / 0.5796 GB, free: 35.62 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005524/0.6353, allocations: 99.83 kB / 0.5797 GB, free: 35.6 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6353, allocations: 0.9375 kB / 0.5797 GB, free: 35.6 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.6354, allocations: 14.42 kB / 0.5797 GB, free: 35.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6354, allocations: 0.9375 kB / 0.5797 GB, free: 35.59 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6354, allocations: 4 kB / 0.5797 GB, free: 35.59 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000818/0.6362, allocations: 0.6072 MB / 0.5803 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.6363, allocations: 129.7 kB / 0.5804 GB, free: 35.11 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.6364, allocations: 14.45 kB / 0.5804 GB, free: 35.1 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.6366, allocations: 16.3 kB / 0.5804 GB, free: 35.09 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.6366, allocations: 14.44 kB / 0.5805 GB, free: 35.08 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.6367, allocations: 12.59 kB / 0.5805 GB, free: 35.07 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001369/0.6368, allocations: 160.6 kB / 0.5806 GB, free: 34.96 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6368, allocations: 4 kB / 0.5806 GB, free: 34.96 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003522/0.6372, allocations: 65.81 kB / 0.5807 GB, free: 34.94 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.0008965/0.6381, allocations: 1.162 MB / 0.5818 GB, free: 34.04 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006054/0.6387, allocations: 442.9 kB / 0.5822 GB, free: 33.85 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6387, allocations: 1.281 kB / 0.5822 GB, free: 33.85 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.6389, allocations: 163 kB / 0.5824 GB, free: 33.78 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.6393, allocations: 11.81 kB / 0.5824 GB, free: 33.77 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.6438, allocations: 4.053 MB / 0.5864 GB, free: 30.85 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.6441, allocations: 0.7894 MB / 0.5871 GB, free: 30.11 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002738/0.6444, allocations: 110.3 kB / 0.5872 GB, free: 30.07 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.6445, allocations: 66.16 kB / 0.5873 GB, free: 30.01 MB / 462.3 MB Notification: Performance of SimCode: time 1.412e-06/0.6445, allocations: 1.156 kB / 0.5873 GB, free: 30.01 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.6631, allocations: 5.013 MB / 0.5922 GB, free: 26.16 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.6634, allocations: 235.4 kB / 0.5924 GB, free: 25.91 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.097, allocations: 0 / 0.5924 GB, free: 25.91 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