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.001453/0.001453, allocations: 110.7 kB / 16.92 MB, free: 5.766 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.001545/0.001545, allocations: 191.3 kB / 17.85 MB, free: 5.172 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.289/1.289, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1704/0.1704, allocations: 38.03 MB / 329.7 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 65.59 kB / 398.9 MB, free: 33.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09662, allocations: 58.07 MB / 457 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.00267/0.09933, allocations: 1.387 MB / 458.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005711/0.09992, allocations: 359.4 kB / 458.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.09997, allocations: 4 kB / 458.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.1002, allocations: 23.86 kB / 458.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.1003, allocations: 31.78 kB / 458.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.1005, allocations: 77.28 kB / 458.8 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.1007, allocations: 59.83 kB / 458.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.1007, allocations: 7.984 kB / 458.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1008, allocations: 27.86 kB / 458.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.1009, allocations: 27.91 kB / 459 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1009, allocations: 0 / 459 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.101, allocations: 55.92 kB / 459 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.299e-05/0.1011, allocations: 15.97 kB / 459 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.1011, allocations: 19.81 kB / 459 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1013, allocations: 95.7 kB / 459.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.1013, allocations: 0 / 459.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1013, allocations: 3.938 kB / 459.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1013, allocations: 4 kB / 459.1 MB, free: 5.766 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.000387/0.1017, allocations: 382.6 kB / 459.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.1018, allocations: 15.89 kB / 459.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.1018, allocations: 30.75 kB / 459.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.1018, allocations: 8.844 kB / 459.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.102, allocations: 195.1 kB / 459.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1021, allocations: 4.375 kB / 459.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.1021, allocations: 384 / 459.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.1022, allocations: 67.28 kB / 459.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1022, allocations: 0 / 459.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.1022, allocations: 4 kB / 459.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1022, allocations: 4 kB / 459.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.565e-05/0.1023, allocations: 15.98 kB / 459.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.1026, allocations: 276.9 kB / 460.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.645e-05/0.1027, allocations: 38.5 kB / 460.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.1027, allocations: 20.91 kB / 460.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1027, allocations: 0 / 460.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.1028, allocations: 38.5 kB / 460.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1028, allocations: 0 / 460.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001436/0.1029, allocations: 53.78 kB / 460.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.103, allocations: 81.05 kB / 460.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.1031, allocations: 145.2 kB / 460.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1031, allocations: 25.7 kB / 460.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.1032, allocations: 104 kB / 460.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.1032, allocations: 7.844 kB / 460.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.1032, allocations: 13.72 kB / 460.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.1033, allocations: 326.8 kB / 461 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.1033, allocations: 4 kB / 461 MB, free: 3.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.1034, allocations: 25.69 kB / 461 MB, free: 3.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.1034, allocations: 16.86 kB / 461 MB, free: 3.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1034, allocations: 4.031 kB / 461 MB, free: 3.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.836e-05/0.1035, allocations: 57.53 kB / 461.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.1035, allocations: 4 kB / 461.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1035, allocations: 0 / 461.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1035, allocations: 0 / 461.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.65e-05/0.1036, allocations: 4 kB / 461.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1036, allocations: 4 kB / 461.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.1036, allocations: 0 / 461.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.1036, allocations: 3.938 kB / 461.1 MB, free: 3.582 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 7.505e-05/0.1037, allocations: 125.8 kB / 461.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.1038, allocations: 7.906 kB / 461.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.1039, allocations: 61.58 kB / 461.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1039, allocations: 0 / 461.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1039, allocations: 0 / 461.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1039, allocations: 3.938 kB / 461.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.1041, allocations: 181.6 kB / 461.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1041, allocations: 0 / 461.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.1041, allocations: 4 kB / 461.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1041, allocations: 0 / 461.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.1041, allocations: 0 / 461.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1041, allocations: 8 kB / 461.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1041, allocations: 3.984 kB / 461.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.1042, allocations: 147.4 kB / 461.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.1043, allocations: 85.05 kB / 461.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1043, allocations: 0 / 461.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.162e-05/0.1044, allocations: 0 / 461.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.1044, allocations: 4 kB / 461.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1044, allocations: 4 kB / 461.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.302e-05/0.1045, allocations: 115.2 kB / 461.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.353e-06/0.1045, allocations: 0 / 461.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.1047, allocations: 23.88 kB / 461.8 MB, free: 2.715 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.001094/0.1058, allocations: 0.9698 MB / 462.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.1059, allocations: 19.98 kB / 462.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.106, allocations: 4 kB / 462.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.714e-05/0.106, allocations: 11.92 kB / 462.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1063, allocations: 19.11 kB / 462.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.1074, allocations: 1.325 MB / 464.2 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.1077, allocations: 0.6846 MB / 464.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.1077, allocations: 15.98 kB / 464.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.1078, allocations: 27.42 kB / 464.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1078, allocations: 0 / 464.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.1361, allocations: 2.47 MB / 467.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/7.649, allocations: 11.86 kB / 467.4 MB, free: 13.25 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