Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.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(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",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.001265/0.001265, allocations: 108.9 kB / 17.06 MB, free: 5.969 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.001274/0.001275, allocations: 200 kB / 18.01 MB, free: 5.051 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.406/1.406, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1946/0.1946, allocations: 38.04 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 60.09 kB / 457.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3136, allocations: 58.06 MB / 0.5036 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002579/0.3162, allocations: 1.386 MB / 0.505 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000595/0.3168, allocations: 372.4 kB / 0.5053 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.3169, allocations: 1.406 kB / 0.5053 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.3172, allocations: 23.3 kB / 0.5053 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.3174, allocations: 31.08 kB / 0.5054 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.3177, allocations: 85.48 kB / 0.5054 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.3179, allocations: 55.2 kB / 0.5055 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.3179, allocations: 8.078 kB / 0.5055 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.3181, allocations: 32.25 kB / 0.5055 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.3182, allocations: 17.28 kB / 0.5056 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3182, allocations: 3.062 kB / 0.5056 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.3184, allocations: 56.62 kB / 0.5056 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.3184, allocations: 18.31 kB / 0.5056 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.3185, allocations: 19.3 kB / 0.5056 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3187, allocations: 89.59 kB / 0.5057 GB, free: 6.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3188, allocations: 1 kB / 0.5057 GB, free: 6.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3188, allocations: 0 / 0.5057 GB, free: 6.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3188, allocations: 0 / 0.5057 GB, free: 6.113 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000435/0.3192, allocations: 388.9 kB / 0.5061 GB, free: 5.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3193, allocations: 13.89 kB / 0.5061 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.3193, allocations: 32.53 kB / 0.5061 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.3193, allocations: 9.172 kB / 0.5062 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3195, allocations: 192.2 kB / 0.5063 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3196, allocations: 2.641 kB / 0.5063 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.3196, allocations: 5.688 kB / 0.5063 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3197, allocations: 64.27 kB / 0.5064 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3197, allocations: 1.156 kB / 0.5064 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3198, allocations: 4.797 kB / 0.5064 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3198, allocations: 1.062 kB / 0.5064 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.083e-05/0.3198, allocations: 17.38 kB / 0.5064 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.3202, allocations: 283.5 kB / 0.5067 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3203, allocations: 35.05 kB / 0.5067 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.3203, allocations: 18.92 kB / 0.5068 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.3204, allocations: 4.828 kB / 0.5068 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.3204, allocations: 36.39 kB / 0.5068 GB, free: 5.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3204, allocations: 0 / 0.5068 GB, free: 5.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001953/0.3206, allocations: 58.81 kB / 0.5069 GB, free: 4.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3206, allocations: 77.72 kB / 0.5069 GB, free: 4.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3208, allocations: 139.1 kB / 0.5071 GB, free: 4.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.3208, allocations: 34.92 kB / 0.5071 GB, free: 4.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.3209, allocations: 92.69 kB / 0.5072 GB, free: 4.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.3209, allocations: 14.86 kB / 0.5072 GB, free: 4.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.3209, allocations: 13.75 kB / 0.5072 GB, free: 4.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.15e-05/0.321, allocations: 323.1 kB / 0.5075 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.321, allocations: 8.609 kB / 0.5075 GB, free: 4.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.3211, allocations: 20.8 kB / 0.5075 GB, free: 4.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.23e-05/0.3211, allocations: 27.62 kB / 0.5076 GB, free: 4.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3211, allocations: 0 / 0.5076 GB, free: 4.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.596e-05/0.3212, allocations: 46.97 kB / 0.5076 GB, free: 4.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3212, allocations: 6.328 kB / 0.5076 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3212, allocations: 0 / 0.5076 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3213, allocations: 1.609 kB / 0.5076 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.3213, allocations: 5.094 kB / 0.5076 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3213, allocations: 4 kB / 0.5076 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.3214, allocations: 5.562 kB / 0.5076 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3214, allocations: 1.156 kB / 0.5076 GB, free: 4.203 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 7.372e-05/0.3215, allocations: 124.5 kB / 0.5078 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.3215, allocations: 3.188 kB / 0.5078 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.3216, allocations: 63.05 kB / 0.5078 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3216, allocations: 0 / 0.5078 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3216, allocations: 1.031 kB / 0.5078 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3217, allocations: 0.75 kB / 0.5078 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.3218, allocations: 181.1 kB / 0.508 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3218, allocations: 1.938 kB / 0.508 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.3219, allocations: 4.859 kB / 0.508 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3219, allocations: 0 / 0.508 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3219, allocations: 6.203 kB / 0.508 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3219, allocations: 0 / 0.508 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3219, allocations: 0 / 0.508 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.322, allocations: 152.3 kB / 0.5082 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.3221, allocations: 82.89 kB / 0.5082 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.3221, allocations: 1.656 kB / 0.5082 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.824e-05/0.3221, allocations: 5.062 kB / 0.5082 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.3221, allocations: 2.297 kB / 0.5082 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3222, allocations: 9.031 kB / 0.5082 GB, free: 3.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.853e-05/0.3222, allocations: 117.1 kB / 0.5084 GB, free: 3.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3222, allocations: 0 / 0.5084 GB, free: 3.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.3225, allocations: 21.17 kB / 0.5084 GB, free: 3.473 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.001441/0.324, allocations: 0.9666 MB / 0.5093 GB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.3241, allocations: 21.81 kB / 0.5093 GB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3241, allocations: 2.219 kB / 0.5093 GB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.816e-05/0.3241, allocations: 6.375 kB / 0.5094 GB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.3245, allocations: 14.59 kB / 0.5094 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.3255, allocations: 1.326 MB / 0.5107 GB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.3257, allocations: 0.6955 MB / 0.5113 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.068e-05/0.3258, allocations: 15.58 kB / 0.5114 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.3259, allocations: 27.92 kB / 0.5114 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3259, allocations: 0 / 0.5114 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.3496, allocations: 2.528 MB / 0.5138 GB, free: 32 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.373/8.723, allocations: 13.56 kB / 0.5139 GB, free: 20 kB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches