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.001283/0.00129, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.00119/0.00119, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.516/1.516, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.252/1.252, allocations: 119.3 MB / 411 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001398, allocations: 63.89 kB / 0.4911 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6404/0.6418, allocations: 80.68 MB / 0.5698 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.003444/0.6453, allocations: 1.804 MB / 0.5716 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.6466, allocations: 0.5538 MB / 0.5722 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.6466, allocations: 0 / 0.5722 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.6468, allocations: 25.2 kB / 0.5722 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.6471, allocations: 63.8 kB / 0.5722 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.6473, allocations: 86.72 kB / 0.5723 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.6477, allocations: 347.1 kB / 0.5727 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.459e-05/0.6478, allocations: 25.3 kB / 0.5727 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.648, allocations: 140 kB / 0.5728 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.6483, allocations: 147.9 kB / 0.5729 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/0.6483, allocations: 20.56 kB / 0.573 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.747e-05/0.6484, allocations: 19.19 kB / 0.573 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.6486, allocations: 75.73 kB / 0.5731 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003406/0.649, allocations: 107.7 kB / 0.5732 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.6492, allocations: 272.6 kB / 0.5734 GB, free: 40.67 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.6492, allocations: 1.156 kB / 0.5734 GB, free: 40.67 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.697e-06/0.6493, allocations: 4 kB / 0.5734 GB, free: 40.67 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.6493, allocations: 3.938 kB / 0.5734 GB, free: 40.66 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.001354/0.6506, allocations: 0.6233 MB / 0.574 GB, free: 40.14 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.6507, allocations: 17.47 kB / 0.5741 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.965e-05/0.6508, allocations: 45.78 kB / 0.5741 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.413e-05/0.6508, allocations: 24.58 kB / 0.5741 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.6512, allocations: 269.7 kB / 0.5744 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.6512, allocations: 16.7 kB / 0.5744 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.6514, allocations: 36.05 kB / 0.5744 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.6519, allocations: 305.9 kB / 0.5747 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.6519, allocations: 1.375 kB / 0.5747 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.652, allocations: 5.562 kB / 0.5747 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.652, allocations: 5.719 kB / 0.5747 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.6524, allocations: 232.3 kB / 0.575 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.6546, allocations: 1.094 MB / 0.576 GB, free: 38.72 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009377/0.6555, allocations: 440.3 kB / 0.5764 GB, free: 38.51 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.6558, allocations: 163.9 kB / 0.5766 GB, free: 38.43 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.6558, allocations: 7.094 kB / 0.5766 GB, free: 38.42 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.6558, allocations: 39.5 kB / 0.5766 GB, free: 38.38 MB / 462.3 MB Notification: Performance of pre-optimization done (n=23): time 2.375e-06/0.6558, allocations: 0 / 0.5766 GB, free: 38.38 MB / 462.3 MB Notification: Performance of matching and sorting (n=23): time 0.0007488/0.6566, allocations: 481.4 kB / 0.5771 GB, free: 38.12 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.6567, allocations: 54.16 kB / 0.5772 GB, free: 38.06 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.6569, allocations: 214.9 kB / 0.5774 GB, free: 37.91 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.6569, allocations: 35.08 kB / 0.5774 GB, free: 37.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.657, allocations: 134 kB / 0.5775 GB, free: 37.74 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.657, allocations: 89.66 kB / 0.5776 GB, free: 37.66 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.6572, allocations: 73.23 kB / 0.5777 GB, free: 37.61 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.528e-05/0.6572, allocations: 333.7 kB / 0.578 GB, free: 37.28 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.6575, allocations: 193 kB / 0.5782 GB, free: 37.19 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.6578, allocations: 250.4 kB / 0.5784 GB, free: 37.04 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/0.6585, allocations: 418.4 kB / 0.5788 GB, free: 36.81 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6586, allocations: 0.9062 kB / 0.5788 GB, free: 36.81 MB / 462.3 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008614/0.6594, allocations: 0.5022 MB / 0.5793 GB, free: 36.55 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.6594, allocations: 8.344 kB / 0.5793 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.6595, allocations: 0.7812 kB / 0.5793 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.6595, allocations: 2.781 kB / 0.5793 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.66, allocations: 110.8 kB / 0.5794 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.66, allocations: 2.75 kB / 0.5794 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.6603, allocations: 49.5 kB / 0.5795 GB, free: 36.49 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.6603, allocations: 8.281 kB / 0.5795 GB, free: 36.49 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.0001501/0.6605, allocations: 172.7 kB / 0.5796 GB, free: 36.34 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.6605, allocations: 23.59 kB / 0.5797 GB, free: 36.32 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.544e-05/0.6606, allocations: 42.98 kB / 0.5797 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.6606, allocations: 3.844 kB / 0.5797 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.6606, allocations: 0 / 0.5797 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6606, allocations: 3.984 kB / 0.5797 GB, free: 36.28 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.6611, allocations: 351.3 kB / 0.5801 GB, free: 35.97 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6611, allocations: 3.938 kB / 0.5801 GB, free: 35.97 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.6616, allocations: 99.67 kB / 0.5802 GB, free: 35.94 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6616, allocations: 1.281 kB / 0.5802 GB, free: 35.94 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.6616, allocations: 14.31 kB / 0.5802 GB, free: 35.93 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6616, allocations: 5.266 kB / 0.5802 GB, free: 35.93 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6616, allocations: 1.25 kB / 0.5802 GB, free: 35.93 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007406/0.6624, allocations: 0.6057 MB / 0.5808 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.6625, allocations: 127.4 kB / 0.5809 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.6626, allocations: 13.02 kB / 0.5809 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.6628, allocations: 20.81 kB / 0.5809 GB, free: 35.43 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.663, allocations: 14.3 kB / 0.5809 GB, free: 35.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.6631, allocations: 13.05 kB / 0.5809 GB, free: 35.42 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001244/0.6632, allocations: 157.9 kB / 0.5811 GB, free: 35.3 MB / 462.3 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6632, allocations: 1.25 kB / 0.5811 GB, free: 35.3 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003428/0.6636, allocations: 71.56 kB / 0.5812 GB, free: 35.29 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.0009919/0.6645, allocations: 1.16 MB / 0.5823 GB, free: 34.38 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007259/0.6653, allocations: 439.2 kB / 0.5827 GB, free: 34.2 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6653, allocations: 1.281 kB / 0.5827 GB, free: 34.2 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.6655, allocations: 159.1 kB / 0.5829 GB, free: 34.13 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.6658, allocations: 15.23 kB / 0.5829 GB, free: 34.12 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/0.671, allocations: 4.004 MB / 0.5868 GB, free: 31.26 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.6714, allocations: 0.7941 MB / 0.5876 GB, free: 30.51 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.6717, allocations: 109.8 kB / 0.5877 GB, free: 30.46 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.6718, allocations: 58.8 kB / 0.5877 GB, free: 30.42 MB / 462.3 MB Notification: Performance of SimCode: time 2.004e-06/0.6718, allocations: 4 kB / 0.5877 GB, free: 30.41 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.6983, allocations: 5.084 MB / 0.5927 GB, free: 25.88 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.931/9.63, allocations: 12.19 kB / 0.5927 GB, free: 25.86 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.csv --start-time 0 --stop-time 500 --timeout 300 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.05 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches