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.0009434/0.0009435, allocations: 92.44 kB / 16.65 MB, free: 6.59 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.001255/0.001255, allocations: 181.1 kB / 17.56 MB, free: 6.203 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.193/1.193, allocations: 223.3 MB / 241.6 MB, free: 14.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1622/0.1622, allocations: 38.08 MB / 330.8 MB, free: 8.535 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.0002711, allocations: 12 kB / 400.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08199/0.08228, allocations: 59.17 MB / 460 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001562/0.08387, allocations: 1.084 MB / 461.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005389/0.08443, allocations: 367.4 kB / 461.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.08447, allocations: 0 / 461.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.08464, allocations: 15.94 kB / 461.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.08476, allocations: 31.84 kB / 461.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.08495, allocations: 71.91 kB / 461.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.08507, allocations: 55.78 kB / 461.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.08511, allocations: 7.984 kB / 461.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.08525, allocations: 23.92 kB / 461.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.08532, allocations: 19.86 kB / 461.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.08534, allocations: 4 kB / 461.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.695e-05/0.08543, allocations: 51.95 kB / 461.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.08548, allocations: 15.92 kB / 461.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.08553, allocations: 45.58 kB / 461.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.08568, allocations: 87.7 kB / 461.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.0857, allocations: 4 kB / 461.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.08571, allocations: 3.984 kB / 461.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.08571, allocations: 0 / 461.8 MB, free: 5.059 MB / 334.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.0003482/0.08607, allocations: 367.6 kB / 462.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.08611, allocations: 8.031 kB / 462.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.08614, allocations: 38.69 kB / 462.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.08617, allocations: 8.844 kB / 462.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.08635, allocations: 192.2 kB / 462.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.441e-06/0.08636, allocations: 384 / 462.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.08638, allocations: 4.375 kB / 462.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.954e-05/0.08648, allocations: 63.34 kB / 462.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.0865, allocations: 0 / 462.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.08651, allocations: 4 kB / 462.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.08652, allocations: 0 / 462.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.824e-05/0.08657, allocations: 23.92 kB / 462.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.08687, allocations: 280.8 kB / 462.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.183e-05/0.08695, allocations: 34.58 kB / 462.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.08698, allocations: 20.91 kB / 462.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.08701, allocations: 0 / 462.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.08703, allocations: 34.5 kB / 462.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.08704, allocations: 0 / 462.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001388/0.08718, allocations: 57.53 kB / 463 MB, free: 3.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.08723, allocations: 81.11 kB / 463 MB, free: 3.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.08737, allocations: 145.8 kB / 463.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.08739, allocations: 25.7 kB / 463.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.08744, allocations: 104.1 kB / 463.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.08746, allocations: 7.844 kB / 463.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.08748, allocations: 9.719 kB / 463.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.08758, allocations: 326.8 kB / 463.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.0876, allocations: 4 kB / 463.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.36e-05/0.08763, allocations: 25.64 kB / 463.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/0.08766, allocations: 16.86 kB / 463.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.08767, allocations: 0 / 463.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.067e-05/0.08774, allocations: 57.95 kB / 463.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.08776, allocations: 4 kB / 463.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.08777, allocations: 3.984 kB / 463.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.08778, allocations: 0 / 463.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.659e-05/0.08784, allocations: 8 kB / 463.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.08785, allocations: 0 / 463.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.08788, allocations: 4 kB / 463.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.08789, allocations: 3.984 kB / 463.8 MB, free: 2.883 MB / 334.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 6.872e-05/0.08796, allocations: 121.7 kB / 463.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.08799, allocations: 11.91 kB / 463.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.0881, allocations: 61.58 kB / 464 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.08811, allocations: 0 / 464 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.08812, allocations: 0 / 464 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.08813, allocations: 0 / 464 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.08828, allocations: 173.6 kB / 464.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.08829, allocations: 0 / 464.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.08832, allocations: 4 kB / 464.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.08832, allocations: 0 / 464.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.08833, allocations: 0 / 464.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.08834, allocations: 3.984 kB / 464.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.08835, allocations: 8 kB / 464.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.938e-05/0.08845, allocations: 147.3 kB / 464.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.0885, allocations: 89.02 kB / 464.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.08852, allocations: 0 / 464.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/0.08857, allocations: 3.938 kB / 464.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.08859, allocations: 7.984 kB / 464.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.0886, allocations: 0 / 464.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.774e-05/0.08868, allocations: 118.4 kB / 464.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.08869, allocations: 0 / 464.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.08892, allocations: 19.92 kB / 464.5 MB, free: 2.023 MB / 334.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.001023/0.08995, allocations: 0.9694 MB / 465.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.03e-05/0.09004, allocations: 15.98 kB / 465.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.09005, allocations: 4 kB / 465.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.532e-05/0.09007, allocations: 8 kB / 465.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.09036, allocations: 15.98 kB / 465.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009783/0.09134, allocations: 1.326 MB / 466.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.09155, allocations: 0.6887 MB / 467.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.204e-05/0.09161, allocations: 19.97 kB / 467.6 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.09167, allocations: 27.42 kB / 467.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09168, allocations: 0 / 467.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2922/0.3838, allocations: 2.154 MB / 469.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.3841, allocations: 250.9 kB / 470 MB, free: 12.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.239, allocations: 0 / 470 MB, free: 12.68 MB / 350.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","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches