Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.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.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",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.001627/0.001627, allocations: 101.8 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.001396/0.001396, allocations: 189.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.449/1.449, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.35/1.35, allocations: 119.3 MB / 410.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 59.91 kB / 0.4905 GB, free: 13.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6567/0.658, allocations: 80.68 MB / 0.5693 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.003084/0.6612, allocations: 1.856 MB / 0.5712 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.6624, allocations: 0.5532 MB / 0.5717 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.6624, allocations: 0 / 0.5717 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.6626, allocations: 17.25 kB / 0.5717 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.6629, allocations: 56.61 kB / 0.5718 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007286/0.6637, allocations: 77.78 kB / 0.5718 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.6651, allocations: 0.6564 MB / 0.5725 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.6652, allocations: 51.02 kB / 0.5725 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.6656, allocations: 256.8 kB / 0.5728 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.666, allocations: 283.6 kB / 0.573 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.966e-05/0.6661, allocations: 43.45 kB / 0.5731 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.6662, allocations: 40.38 kB / 0.5731 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.6664, allocations: 137.6 kB / 0.5733 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.6667, allocations: 220 kB / 0.5735 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.6672, allocations: 0.5298 MB / 0.574 GB, free: 40.2 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.6672, allocations: 5.406 kB / 0.574 GB, free: 40.2 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.286e-06/0.6672, allocations: 0 / 0.574 GB, free: 40.2 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.6673, allocations: 0 / 0.574 GB, free: 40.2 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.002191/0.6695, allocations: 0.9462 MB / 0.5749 GB, free: 39.51 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/0.6695, allocations: 13.11 kB / 0.5749 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.6696, allocations: 72.12 kB / 0.575 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.6698, allocations: 42.31 kB / 0.575 GB, free: 39.42 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.6703, allocations: 360.5 kB / 0.5754 GB, free: 39.12 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.6703, allocations: 27.94 kB / 0.5754 GB, free: 39.11 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.6705, allocations: 72.41 kB / 0.5755 GB, free: 39.07 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009332/0.6715, allocations: 0.5261 MB / 0.576 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.6715, allocations: 9.234 kB / 0.576 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.6716, allocations: 10.91 kB / 0.576 GB, free: 38.76 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.6716, allocations: 11.19 kB / 0.576 GB, free: 38.75 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007719/0.6724, allocations: 0.5031 MB / 0.5765 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003389/0.6758, allocations: 1.579 MB / 0.578 GB, free: 37.56 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.6775, allocations: 0.8648 MB / 0.5789 GB, free: 37.14 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/0.678, allocations: 387.4 kB / 0.5793 GB, free: 36.95 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.678, allocations: 5.5 kB / 0.5793 GB, free: 36.95 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.6781, allocations: 41.47 kB / 0.5793 GB, free: 36.91 MB / 462.3 MB Notification: Performance of pre-optimization done (n=52): time 2.906e-06/0.6781, allocations: 0 / 0.5793 GB, free: 36.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=52): time 0.001553/0.6796, allocations: 0.9936 MB / 0.5803 GB, free: 36.42 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.6797, allocations: 56.91 kB / 0.5803 GB, free: 36.36 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.6801, allocations: 310.8 kB / 0.5806 GB, free: 36.16 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.886e-05/0.6802, allocations: 36.2 kB / 0.5807 GB, free: 36.12 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.6803, allocations: 177.2 kB / 0.5808 GB, free: 35.96 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.6805, allocations: 209 kB / 0.581 GB, free: 35.77 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.6807, allocations: 129.8 kB / 0.5812 GB, free: 35.7 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.6808, allocations: 357 kB / 0.5815 GB, free: 35.36 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.6815, allocations: 412.2 kB / 0.5819 GB, free: 35.17 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000773/0.6823, allocations: 0.5011 MB / 0.5824 GB, free: 34.88 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.6837, allocations: 0.873 MB / 0.5832 GB, free: 34.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6837, allocations: 3.938 kB / 0.5832 GB, free: 34.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001826/0.6855, allocations: 1.029 MB / 0.5842 GB, free: 33.9 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.6856, allocations: 9.016 kB / 0.5842 GB, free: 33.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.6856, allocations: 6.656 kB / 0.5843 GB, free: 33.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/0.6856, allocations: 4.344 kB / 0.5843 GB, free: 33.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.6866, allocations: 234.7 kB / 0.5845 GB, free: 33.83 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.6867, allocations: 12.92 kB / 0.5845 GB, free: 33.82 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004313/0.6871, allocations: 84.47 kB / 0.5846 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/0.6872, allocations: 24.84 kB / 0.5846 GB, free: 33.76 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.0003373/0.6875, allocations: 221.4 kB / 0.5848 GB, free: 33.58 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.6876, allocations: 36.58 kB / 0.5848 GB, free: 33.56 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.6888, allocations: 0.8035 MB / 0.5856 GB, free: 32.87 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.6889, allocations: 8 kB / 0.5856 GB, free: 32.86 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6889, allocations: 4 kB / 0.5856 GB, free: 32.86 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6889, allocations: 0 / 0.5856 GB, free: 32.86 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007028/0.6896, allocations: 0.5793 MB / 0.5862 GB, free: 32.22 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6896, allocations: 0 / 0.5862 GB, free: 32.22 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009847/0.6906, allocations: 199.8 kB / 0.5864 GB, free: 32.03 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/0.6906, allocations: 4 kB / 0.5864 GB, free: 32.02 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-05/0.6907, allocations: 35.91 kB / 0.5864 GB, free: 31.99 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.6907, allocations: 0 / 0.5864 GB, free: 31.99 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6907, allocations: 0 / 0.5864 GB, free: 31.99 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.6927, allocations: 1.227 MB / 0.5876 GB, free: 30.75 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005173/0.6933, allocations: 188.5 kB / 0.5878 GB, free: 30.54 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.6934, allocations: 35.91 kB / 0.5878 GB, free: 30.51 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.6937, allocations: 39.94 kB / 0.5879 GB, free: 30.47 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/0.6938, allocations: 28.39 kB / 0.5879 GB, free: 30.44 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.6939, allocations: 16 kB / 0.5879 GB, free: 30.43 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001729/0.694, allocations: 225.9 kB / 0.5881 GB, free: 30.21 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6941, allocations: 0 / 0.5881 GB, free: 30.21 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005036/0.6946, allocations: 127.9 kB / 0.5883 GB, free: 30.08 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.001469/0.696, allocations: 1.797 MB / 0.59 GB, free: 28.26 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.6974, allocations: 1.056 MB / 0.5911 GB, free: 27.2 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6974, allocations: 3.938 kB / 0.5911 GB, free: 27.2 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.6978, allocations: 374.2 kB / 0.5914 GB, free: 26.84 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.6982, allocations: 24.89 kB / 0.5914 GB, free: 26.81 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007141/0.7053, allocations: 7.131 MB / 0.5984 GB, free: 19.54 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.7057, allocations: 0.9014 MB / 0.5993 GB, free: 18.62 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005396/0.7062, allocations: 247 kB / 0.5995 GB, free: 18.38 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.7064, allocations: 127.4 kB / 0.5996 GB, free: 18.25 MB / 462.3 MB Notification: Performance of SimCode: time 1.272e-06/0.7065, allocations: 0 / 0.5996 GB, free: 18.25 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.7345, allocations: 9.375 MB / 0.6088 GB, free: 9.094 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.7348, allocations: 243.3 kB / 0.609 GB, free: 8.844 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/3.072, allocations: 3.875 kB / 0.609 GB, free: 8.844 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches