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.001693/0.001693, allocations: 101.5 kB / 16.5 MB, free: 6.645 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.001596/0.001597, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.542/1.542, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.238/1.238, allocations: 119.3 MB / 410.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.89 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6612/0.6626, allocations: 80.68 MB / 0.5692 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.003863/0.6665, allocations: 1.86 MB / 0.571 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009326/0.6675, allocations: 0.5462 MB / 0.5715 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.6675, allocations: 0 / 0.5715 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.6677, allocations: 21.12 kB / 0.5715 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.6679, allocations: 69.02 kB / 0.5716 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.6682, allocations: 70.3 kB / 0.5717 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.6687, allocations: 420.4 kB / 0.5721 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.539e-05/0.6688, allocations: 22.19 kB / 0.5721 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.6689, allocations: 114.6 kB / 0.5722 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.6692, allocations: 134.4 kB / 0.5723 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.6692, allocations: 10.72 kB / 0.5723 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.616e-05/0.6693, allocations: 15.41 kB / 0.5723 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.998e-05/0.6694, allocations: 59.56 kB / 0.5724 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.6695, allocations: 102.4 kB / 0.5725 GB, free: 40.85 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.6697, allocations: 252.9 kB / 0.5727 GB, free: 40.69 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6698, allocations: 0 / 0.5727 GB, free: 40.69 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6698, allocations: 3.938 kB / 0.5727 GB, free: 40.69 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.6698, allocations: 0 / 0.5727 GB, free: 40.69 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.001186/0.671, allocations: 0.6314 MB / 0.5734 GB, free: 40.16 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.671, allocations: 10.25 kB / 0.5734 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.6711, allocations: 53.05 kB / 0.5734 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.464e-05/0.6712, allocations: 23.88 kB / 0.5734 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.6715, allocations: 264.7 kB / 0.5737 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.6715, allocations: 12.67 kB / 0.5737 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.6717, allocations: 29.16 kB / 0.5737 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.6721, allocations: 310 kB / 0.574 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.6722, allocations: 5.188 kB / 0.574 GB, free: 39.63 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.6722, allocations: 9.203 kB / 0.574 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.6722, allocations: 10.09 kB / 0.574 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000376/0.6726, allocations: 232.1 kB / 0.5743 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.6746, allocations: 1.09 MB / 0.5753 GB, free: 38.74 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/0.6755, allocations: 444.1 kB / 0.5758 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.6757, allocations: 164.3 kB / 0.5759 GB, free: 38.44 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.6758, allocations: 7.656 kB / 0.5759 GB, free: 38.44 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.6758, allocations: 38.5 kB / 0.576 GB, free: 38.39 MB / 462.3 MB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.6758, allocations: 1.812 kB / 0.576 GB, free: 38.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=23): time 0.0007736/0.6766, allocations: 482.3 kB / 0.5764 GB, free: 38.14 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.6766, allocations: 54.09 kB / 0.5765 GB, free: 38.08 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.6768, allocations: 218.9 kB / 0.5767 GB, free: 37.92 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.6768, allocations: 35.09 kB / 0.5767 GB, free: 37.88 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.6769, allocations: 125.8 kB / 0.5768 GB, free: 37.76 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/0.677, allocations: 93.88 kB / 0.5769 GB, free: 37.68 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.6771, allocations: 75.81 kB / 0.577 GB, free: 37.62 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.6772, allocations: 337.7 kB / 0.5773 GB, free: 37.29 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.6775, allocations: 188.8 kB / 0.5775 GB, free: 37.2 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.6778, allocations: 243.4 kB / 0.5777 GB, free: 37.06 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.6784, allocations: 422.5 kB / 0.5781 GB, free: 36.83 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6784, allocations: 0.9375 kB / 0.5781 GB, free: 36.83 MB / 462.3 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007975/0.6792, allocations: 0.4981 MB / 0.5786 GB, free: 36.57 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.6792, allocations: 5.531 kB / 0.5786 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6792, allocations: 0.9375 kB / 0.5786 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.6792, allocations: 2.75 kB / 0.5786 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.6798, allocations: 119 kB / 0.5787 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.6798, allocations: 2.781 kB / 0.5787 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.68, allocations: 41.47 kB / 0.5788 GB, free: 36.51 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.6801, allocations: 11.38 kB / 0.5788 GB, free: 36.51 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.0001723/0.6802, allocations: 161.7 kB / 0.579 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.6803, allocations: 24.88 kB / 0.579 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.9e-05/0.6804, allocations: 39.39 kB / 0.579 GB, free: 36.31 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.6804, allocations: 1.844 kB / 0.579 GB, free: 36.31 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.6804, allocations: 0.9062 kB / 0.579 GB, free: 36.31 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6804, allocations: 7.938 kB / 0.579 GB, free: 36.3 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.6808, allocations: 357.7 kB / 0.5794 GB, free: 35.99 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6808, allocations: 3.938 kB / 0.5794 GB, free: 35.99 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/0.6814, allocations: 95.77 kB / 0.5795 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6814, allocations: 0.9375 kB / 0.5795 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.6814, allocations: 14.42 kB / 0.5795 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6814, allocations: 0.9375 kB / 0.5795 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6814, allocations: 0.9062 kB / 0.5795 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/0.6822, allocations: 0.6109 MB / 0.5801 GB, free: 35.59 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.6824, allocations: 126.1 kB / 0.5802 GB, free: 35.47 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.6824, allocations: 22.3 kB / 0.5802 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.6826, allocations: 16.81 kB / 0.5802 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.6827, allocations: 14.3 kB / 0.5802 GB, free: 35.44 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.6827, allocations: 5.062 kB / 0.5802 GB, free: 35.44 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001308/0.6828, allocations: 157.9 kB / 0.5804 GB, free: 35.33 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6828, allocations: 3.938 kB / 0.5804 GB, free: 35.32 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003504/0.6832, allocations: 67.62 kB / 0.5805 GB, free: 35.31 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.0009713/0.6841, allocations: 1.172 MB / 0.5816 GB, free: 34.39 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005999/0.6848, allocations: 380.7 kB / 0.582 GB, free: 34.23 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.6848, allocations: 1.5 kB / 0.582 GB, free: 34.23 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.685, allocations: 170.3 kB / 0.5821 GB, free: 34.15 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.6853, allocations: 19.72 kB / 0.5822 GB, free: 34.14 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005618/0.6909, allocations: 4.05 MB / 0.5861 GB, free: 31.22 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.6912, allocations: 0.7938 MB / 0.5869 GB, free: 30.48 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002842/0.6915, allocations: 110 kB / 0.587 GB, free: 30.43 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.6917, allocations: 67.03 kB / 0.5871 GB, free: 30.38 MB / 462.3 MB Notification: Performance of SimCode: time 4.31e-07/0.6917, allocations: 0 / 0.5871 GB, free: 30.38 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.7093, allocations: 4.929 MB / 0.5919 GB, free: 26.19 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.7095, allocations: 243.3 kB / 0.5921 GB, free: 25.93 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/3.278, allocations: 0 / 0.5921 GB, free: 25.93 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