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.001345/0.001345, allocations: 111 kB / 17.06 MB, free: 5.965 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.001491/0.001491, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2/0.2, allocations: 38.05 MB / 329.9 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.89 kB / 457.6 MB, free: 7.406 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3647, allocations: 58.06 MB / 0.5036 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002537/0.3672, allocations: 1.39 MB / 0.505 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006103/0.3679, allocations: 366.6 kB / 0.5053 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.3679, allocations: 3.938 kB / 0.5053 GB, free: 6.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.3681, allocations: 16.05 kB / 0.5053 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.3683, allocations: 44.27 kB / 0.5054 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.3686, allocations: 78.72 kB / 0.5054 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.3688, allocations: 56.25 kB / 0.5055 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.3688, allocations: 4.547 kB / 0.5055 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.369, allocations: 32.44 kB / 0.5055 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.3691, allocations: 25.8 kB / 0.5056 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.3691, allocations: 3.25 kB / 0.5056 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3692, allocations: 48.88 kB / 0.5056 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.3693, allocations: 18.11 kB / 0.5056 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.3693, allocations: 22.52 kB / 0.5056 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.3695, allocations: 83.06 kB / 0.5057 GB, free: 6.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.3695, allocations: 8 kB / 0.5057 GB, free: 6.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3695, allocations: 1.062 kB / 0.5057 GB, free: 6.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3695, allocations: 0 / 0.5057 GB, free: 6.105 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.000361/0.3699, allocations: 381.4 kB / 0.5061 GB, free: 5.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.37, allocations: 13.92 kB / 0.5061 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.37, allocations: 32.84 kB / 0.5061 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.37, allocations: 7.625 kB / 0.5061 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.3702, allocations: 190.2 kB / 0.5063 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3702, allocations: 1.469 kB / 0.5063 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.3702, allocations: 10.69 kB / 0.5063 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.3704, allocations: 63.83 kB / 0.5064 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3704, allocations: 0 / 0.5064 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3704, allocations: 5.953 kB / 0.5064 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3704, allocations: 0 / 0.5064 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.3705, allocations: 17.84 kB / 0.5064 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.3708, allocations: 287.3 kB / 0.5067 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.566e-05/0.3709, allocations: 44.41 kB / 0.5067 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.3709, allocations: 8.688 kB / 0.5067 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3709, allocations: 1.641 kB / 0.5067 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.371, allocations: 40.12 kB / 0.5068 GB, free: 5.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.371, allocations: 0 / 0.5068 GB, free: 5.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001636/0.3711, allocations: 51.17 kB / 0.5068 GB, free: 4.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.3712, allocations: 85.05 kB / 0.5069 GB, free: 4.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3713, allocations: 147.4 kB / 0.5071 GB, free: 4.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.3713, allocations: 25.7 kB / 0.5071 GB, free: 4.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.3714, allocations: 90.27 kB / 0.5072 GB, free: 4.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.3714, allocations: 10.52 kB / 0.5072 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.3714, allocations: 14.52 kB / 0.5072 GB, free: 4.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.3715, allocations: 322.5 kB / 0.5075 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.3715, allocations: 4.797 kB / 0.5075 GB, free: 4.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.036e-05/0.3715, allocations: 27.53 kB / 0.5075 GB, free: 4.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.3716, allocations: 20 kB / 0.5075 GB, free: 4.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3716, allocations: 0.8438 kB / 0.5075 GB, free: 4.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.35e-05/0.3717, allocations: 59.45 kB / 0.5076 GB, free: 4.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3717, allocations: 5.531 kB / 0.5076 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3717, allocations: 0 / 0.5076 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3717, allocations: 0.8438 kB / 0.5076 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.3718, allocations: 6.109 kB / 0.5076 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3718, allocations: 3.984 kB / 0.5076 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.3718, allocations: 5.312 kB / 0.5076 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3718, allocations: 1.625 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 5.792e-05/0.3719, allocations: 119.4 kB / 0.5077 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3719, allocations: 7.844 kB / 0.5077 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.372, allocations: 61.64 kB / 0.5078 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.372, allocations: 1.062 kB / 0.5078 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3721, allocations: 0.8906 kB / 0.5078 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3721, allocations: 5.812 kB / 0.5078 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.3722, allocations: 176.6 kB / 0.508 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3722, allocations: 4 kB / 0.508 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.3722, allocations: 6.297 kB / 0.508 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3723, allocations: 0.7969 kB / 0.508 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.3723, allocations: 1.406 kB / 0.508 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3723, allocations: 0 / 0.508 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3723, allocations: 0 / 0.508 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.997e-05/0.3724, allocations: 147.3 kB / 0.5081 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.3724, allocations: 80.59 kB / 0.5082 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3724, allocations: 8.609 kB / 0.5082 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.3725, allocations: 0.7812 kB / 0.5082 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.3725, allocations: 3.562 kB / 0.5082 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.3725, allocations: 1 kB / 0.5082 GB, free: 3.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.114e-05/0.3726, allocations: 112.3 kB / 0.5083 GB, free: 3.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3726, allocations: 0 / 0.5083 GB, free: 3.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.3728, allocations: 29.55 kB / 0.5084 GB, free: 3.477 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.001011/0.3739, allocations: 0.968 MB / 0.5093 GB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.374, allocations: 19.17 kB / 0.5093 GB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.374, allocations: 3.938 kB / 0.5093 GB, free: 2.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/0.374, allocations: 7.594 kB / 0.5093 GB, free: 2.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.3743, allocations: 14.34 kB / 0.5093 GB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009802/0.3753, allocations: 1.328 MB / 0.5106 GB, free: 1.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.3755, allocations: 0.6919 MB / 0.5113 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.57e-05/0.3755, allocations: 15.31 kB / 0.5113 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.929e-05/0.3756, allocations: 23.83 kB / 0.5114 GB, free: 0.75 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3756, allocations: 1.219 kB / 0.5114 GB, free: 0.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.399, allocations: 2.554 MB / 0.5139 GB, free: 28 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/8.044, allocations: 12.84 kB / 0.5139 GB, free: 16 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