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.001426/0.001426, allocations: 108.3 kB / 16.62 MB, free: 6.961 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.001643/0.001643, allocations: 189.8 kB / 17.55 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.274/1.274, 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/PowerSystems 2.0.0-master/package.mo): time 0.1654/0.1654, allocations: 38.03 MB / 329.4 MB, free: 9.055 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.19 kB / 398.4 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1044, allocations: 58.07 MB / 456.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003305/0.1077, allocations: 1.435 MB / 457.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000671/0.1084, allocations: 351.5 kB / 458.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.854e-05/0.1085, allocations: 8 kB / 458.2 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.1087, allocations: 15.91 kB / 458.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.1089, allocations: 31.92 kB / 458.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.1092, allocations: 73.72 kB / 458.4 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.1093, allocations: 55.84 kB / 458.4 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.1094, allocations: 4 kB / 458.4 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.1095, allocations: 31.84 kB / 458.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.1096, allocations: 19.92 kB / 458.5 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1096, allocations: 0 / 458.5 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1097, allocations: 67.89 kB / 458.5 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.1098, allocations: 19.86 kB / 458.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.1099, allocations: 15.88 kB / 458.6 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.1101, allocations: 95.7 kB / 458.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1101, allocations: 0 / 458.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1101, allocations: 4 kB / 458.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1101, allocations: 0 / 458.7 MB, free: 6.125 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.000593/0.1107, allocations: 375.5 kB / 459 MB, free: 5.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1107, allocations: 15.88 kB / 459 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.1108, allocations: 34.75 kB / 459.1 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.1108, allocations: 8.844 kB / 459.1 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.1111, allocations: 188.2 kB / 459.3 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1111, allocations: 12.31 kB / 459.3 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1111, allocations: 384 / 459.3 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1112, allocations: 63.34 kB / 459.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1112, allocations: 0 / 459.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1113, allocations: 4 kB / 459.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1113, allocations: 0 / 459.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.1113, allocations: 19.98 kB / 459.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.1117, allocations: 284.8 kB / 459.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.369e-05/0.1118, allocations: 34.56 kB / 459.7 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.1118, allocations: 8.922 kB / 459.7 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1119, allocations: 4 kB / 459.7 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1119, allocations: 46.48 kB / 459.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1119, allocations: 0 / 459.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001702/0.1121, allocations: 57.72 kB / 459.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1121, allocations: 77.11 kB / 459.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.1123, allocations: 141.8 kB / 460 MB, free: 4.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1123, allocations: 25.7 kB / 460 MB, free: 4.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.1124, allocations: 96.03 kB / 460.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.1124, allocations: 15.84 kB / 460.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.1124, allocations: 13.72 kB / 460.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1125, allocations: 326.8 kB / 460.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.1126, allocations: 4 kB / 460.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.563e-05/0.1126, allocations: 21.7 kB / 460.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.1126, allocations: 20.84 kB / 460.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1126, allocations: 0 / 460.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.196e-05/0.1127, allocations: 57.53 kB / 460.6 MB, free: 3.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1128, allocations: 8.031 kB / 460.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1128, allocations: 0 / 460.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1128, allocations: 0 / 460.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.451e-05/0.1128, allocations: 8 kB / 460.6 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.1128, allocations: 3.984 kB / 460.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.1129, allocations: 3.938 kB / 460.6 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.1129, allocations: 0 / 460.6 MB, free: 3.934 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 8.088e-05/0.113, allocations: 121.8 kB / 460.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.113, allocations: 7.906 kB / 460.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.1131, allocations: 65.53 kB / 460.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1131, allocations: 0 / 460.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1132, allocations: 4 kB / 460.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1132, allocations: 3.984 kB / 460.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1133, allocations: 173.6 kB / 461 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1133, allocations: 0 / 461 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.1134, allocations: 4 kB / 461 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1134, allocations: 0 / 461 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.1134, allocations: 0 / 461 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1134, allocations: 4 kB / 461 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1134, allocations: 0 / 461 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.1135, allocations: 155.3 kB / 461.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.1136, allocations: 85.03 kB / 461.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1136, allocations: 4 kB / 461.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.1137, allocations: 0 / 461.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.1137, allocations: 4 kB / 461.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1137, allocations: 0 / 461.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.556e-05/0.1138, allocations: 111.2 kB / 461.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1138, allocations: 4 kB / 461.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.114, allocations: 19.94 kB / 461.4 MB, free: 3.074 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.001117/0.1152, allocations: 0.9597 MB / 462.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.5e-05/0.1153, allocations: 23.92 kB / 462.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1153, allocations: 0 / 462.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/0.1153, allocations: 8 kB / 462.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1156, allocations: 23.48 kB / 462.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1168, allocations: 1.343 MB / 463.7 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.117, allocations: 0.6885 MB / 464.4 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.071e-05/0.1171, allocations: 15.97 kB / 464.4 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.1172, allocations: 27.42 kB / 464.4 MB, free: 12 kB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1172, allocations: 0 / 464.4 MB, free: 12 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.1503, allocations: 2.397 MB / 466.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/0.1506, allocations: 255.9 kB / 467.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/1.949, allocations: 0 / 467.1 MB, free: 13.45 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","/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