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.001111/0.001111, allocations: 106.1 kB / 17.06 MB, free: 6.027 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.00122/0.00122, allocations: 195 kB / 18 MB, free: 5.105 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.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1752/0.1752, allocations: 38.04 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001393, allocations: 67.89 kB / 457.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3342, allocations: 58.05 MB / 0.5036 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002928/0.3371, allocations: 1.389 MB / 0.5049 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005605/0.3377, allocations: 364.6 kB / 0.5053 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.3378, allocations: 0 / 0.5053 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.338, allocations: 20.16 kB / 0.5053 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.3382, allocations: 40.02 kB / 0.5054 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.3385, allocations: 73.59 kB / 0.5054 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.3387, allocations: 61.34 kB / 0.5055 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.85e-05/0.3388, allocations: 6.094 kB / 0.5055 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.339, allocations: 31.98 kB / 0.5055 GB, free: 6.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.71e-05/0.3391, allocations: 26.94 kB / 0.5055 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.855e-05/0.3391, allocations: 2.625 kB / 0.5055 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.3392, allocations: 57.36 kB / 0.5056 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.3393, allocations: 18.06 kB / 0.5056 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.3394, allocations: 18.05 kB / 0.5056 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.3397, allocations: 82.88 kB / 0.5057 GB, free: 6.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.3397, allocations: 1.094 kB / 0.5057 GB, free: 6.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.3397, allocations: 4 kB / 0.5057 GB, free: 6.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3397, allocations: 0 / 0.5057 GB, free: 6.219 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.0005728/0.3403, allocations: 382.8 kB / 0.5061 GB, free: 5.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.3404, allocations: 13.45 kB / 0.5061 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.3404, allocations: 33.41 kB / 0.5061 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.3405, allocations: 9.047 kB / 0.5061 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.3407, allocations: 189 kB / 0.5063 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3407, allocations: 1.625 kB / 0.5063 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.3408, allocations: 5.781 kB / 0.5063 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3409, allocations: 64.72 kB / 0.5064 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3409, allocations: 0 / 0.5064 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.341, allocations: 5.641 kB / 0.5064 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.341, allocations: 1.25 kB / 0.5064 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.652e-05/0.341, allocations: 17.66 kB / 0.5064 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.3414, allocations: 291.8 kB / 0.5067 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.481e-05/0.3415, allocations: 38.91 kB / 0.5067 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/0.3415, allocations: 9.547 kB / 0.5067 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.3416, allocations: 0.9688 kB / 0.5067 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.3416, allocations: 36.52 kB / 0.5068 GB, free: 5.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3416, allocations: 0 / 0.5068 GB, free: 5.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001794/0.3418, allocations: 56.33 kB / 0.5068 GB, free: 5.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.3418, allocations: 79.02 kB / 0.5069 GB, free: 4.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.342, allocations: 152.3 kB / 0.507 GB, free: 4.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.016e-06/0.342, allocations: 25.7 kB / 0.5071 GB, free: 4.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.342, allocations: 90.08 kB / 0.5072 GB, free: 4.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3421, allocations: 10.08 kB / 0.5072 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.3421, allocations: 13.72 kB / 0.5072 GB, free: 4.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.3422, allocations: 323.6 kB / 0.5075 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.3422, allocations: 4.031 kB / 0.5075 GB, free: 4.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.3422, allocations: 24.61 kB / 0.5075 GB, free: 4.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.3423, allocations: 24.52 kB / 0.5075 GB, free: 4.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3423, allocations: 0 / 0.5075 GB, free: 4.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.572e-05/0.3424, allocations: 51.19 kB / 0.5076 GB, free: 4.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3424, allocations: 9.766 kB / 0.5076 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3424, allocations: 0 / 0.5076 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3424, allocations: 5.312 kB / 0.5076 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.3425, allocations: 5.156 kB / 0.5076 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3425, allocations: 0.75 kB / 0.5076 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.3425, allocations: 1.312 kB / 0.5076 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.3425, allocations: 12.16 kB / 0.5076 GB, free: 4.316 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 6.973e-05/0.3426, allocations: 119.2 kB / 0.5077 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.3426, allocations: 7.297 kB / 0.5077 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.3428, allocations: 66.36 kB / 0.5078 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3428, allocations: 1.469 kB / 0.5078 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3428, allocations: 0 / 0.5078 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3428, allocations: 0.6562 kB / 0.5078 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.343, allocations: 177.7 kB / 0.508 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.343, allocations: 1.125 kB / 0.508 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.343, allocations: 8.734 kB / 0.508 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.343, allocations: 1.25 kB / 0.508 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.343, allocations: 0 / 0.508 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.343, allocations: 1.859 kB / 0.508 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.343, allocations: 0 / 0.508 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.294e-05/0.3431, allocations: 151.5 kB / 0.5081 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.3432, allocations: 79.95 kB / 0.5082 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3432, allocations: 1.656 kB / 0.5082 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.3432, allocations: 11.56 kB / 0.5082 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.3433, allocations: 3.094 kB / 0.5082 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.3433, allocations: 1 kB / 0.5082 GB, free: 3.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.858e-05/0.3433, allocations: 112.4 kB / 0.5083 GB, free: 3.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3433, allocations: 0 / 0.5083 GB, free: 3.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00026/0.3436, allocations: 29.31 kB / 0.5084 GB, free: 3.586 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.0009689/0.3446, allocations: 0.9665 MB / 0.5093 GB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.325e-05/0.3447, allocations: 16.98 kB / 0.5093 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3447, allocations: 1.375 kB / 0.5093 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.697e-05/0.3447, allocations: 7.547 kB / 0.5093 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.345, allocations: 14.98 kB / 0.5093 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.3462, allocations: 1.334 MB / 0.5106 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.3463, allocations: 0.6874 MB / 0.5113 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.729e-05/0.3464, allocations: 15.86 kB / 0.5113 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.3465, allocations: 22.95 kB / 0.5114 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3465, allocations: 0 / 0.5114 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.366, allocations: 2.545 MB / 0.5138 GB, free: 156 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/7.952, allocations: 23.42 kB / 0.5139 GB, free: 136 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