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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000897/0.000897, allocations: 88.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1692/0.1692, allocations: 37.98 MB / 348 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.474e-05/1.478e-05, allocations: 4 kB / 410.6 MB, free: 46.97 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 56.33 MB / 466.9 MB, free: 6.574 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3218/0.4373, allocations: 86.41 MB / 0.5403 GB, free: 8.535 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001366/0.4387, allocations: 0.5526 MB / 0.5409 GB, free: 7.984 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.005989/0.4447, allocations: 2.4 MB / 0.5432 GB, free: 5.602 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4447, allocations: 3.938 kB / 0.5432 GB, free: 5.598 MB / 379.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.4447, allocations: 0 / 0.5432 GB, free: 5.598 MB / 379.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.0002869/0.445, allocations: 363 kB / 0.5436 GB, free: 5.199 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.4451, allocations: 12.03 kB / 0.5436 GB, free: 5.188 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.4451, allocations: 7.906 kB / 0.5436 GB, free: 5.18 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.4453, allocations: 196.4 kB / 0.5438 GB, free: 4.949 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.4454, allocations: 3.938 kB / 0.5438 GB, free: 4.945 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.4454, allocations: 3.984 kB / 0.5438 GB, free: 4.941 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.649e-05/0.4455, allocations: 23.98 kB / 0.5438 GB, free: 4.918 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.827e-05/0.4455, allocations: 51.41 kB / 0.5439 GB, free: 4.855 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.4456, allocations: 0 / 0.5439 GB, free: 4.855 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.4456, allocations: 4 kB / 0.5439 GB, free: 4.852 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.4456, allocations: 0 / 0.5439 GB, free: 4.852 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.4459, allocations: 257.4 kB / 0.5441 GB, free: 4.562 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.865e-05/0.446, allocations: 34.58 kB / 0.5441 GB, free: 4.52 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.446, allocations: 9.016 kB / 0.5441 GB, free: 4.508 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.446, allocations: 3.984 kB / 0.5441 GB, free: 4.504 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.4461, allocations: 34.56 kB / 0.5442 GB, free: 4.461 MB / 379.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4461, allocations: 0 / 0.5442 GB, free: 4.461 MB / 379.1 MB Notification: Performance of matching and sorting (n=3): time 0.000145/0.4462, allocations: 49.59 kB / 0.5442 GB, free: 4.406 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.4463, allocations: 88.98 kB / 0.5443 GB, free: 4.301 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.4464, allocations: 125 kB / 0.5444 GB, free: 4.172 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.4464, allocations: 25.7 kB / 0.5445 GB, free: 4.141 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.4465, allocations: 100.1 kB / 0.5446 GB, free: 4.039 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.4465, allocations: 7.812 kB / 0.5446 GB, free: 4.031 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.4465, allocations: 0 / 0.5446 GB, free: 4.031 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4466, allocations: 322.8 kB / 0.5449 GB, free: 3.707 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.4466, allocations: 0 / 0.5449 GB, free: 3.707 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.4467, allocations: 25.7 kB / 0.5449 GB, free: 3.676 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.928e-05/0.4467, allocations: 8 kB / 0.5449 GB, free: 3.668 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4467, allocations: 0 / 0.5449 GB, free: 3.668 MB / 379.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.922e-05/0.4468, allocations: 45.69 kB / 0.5449 GB, free: 3.617 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.4468, allocations: 4 kB / 0.5449 GB, free: 3.613 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4468, allocations: 0 / 0.5449 GB, free: 3.613 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.4468, allocations: 0 / 0.5449 GB, free: 3.613 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.96e-05/0.4469, allocations: 11.94 kB / 0.545 GB, free: 3.602 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4469, allocations: 0 / 0.545 GB, free: 3.602 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.4469, allocations: 4 kB / 0.545 GB, free: 3.598 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.4469, allocations: 8.016 kB / 0.545 GB, free: 3.59 MB / 379.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.447, allocations: 108.9 kB / 0.5451 GB, free: 3.477 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.447, allocations: 3.906 kB / 0.5451 GB, free: 3.473 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.4471, allocations: 62.02 kB / 0.5451 GB, free: 3.402 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4472, allocations: 3.938 kB / 0.5451 GB, free: 3.398 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4472, allocations: 0 / 0.5451 GB, free: 3.398 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4472, allocations: 0 / 0.5451 GB, free: 3.398 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.4473, allocations: 154.2 kB / 0.5453 GB, free: 3.211 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.4473, allocations: 0 / 0.5453 GB, free: 3.211 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.4474, allocations: 8 kB / 0.5453 GB, free: 3.203 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4474, allocations: 0 / 0.5453 GB, free: 3.203 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.4474, allocations: 240 / 0.5453 GB, free: 3.203 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4474, allocations: 0 / 0.5453 GB, free: 3.203 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4474, allocations: 3.938 kB / 0.5453 GB, free: 3.199 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.4475, allocations: 155.4 kB / 0.5454 GB, free: 3.031 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.4476, allocations: 89 kB / 0.5455 GB, free: 2.926 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.4476, allocations: 0 / 0.5455 GB, free: 2.926 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.4477, allocations: 4 kB / 0.5455 GB, free: 2.922 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.4477, allocations: 3.938 kB / 0.5455 GB, free: 2.918 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.4477, allocations: 4 kB / 0.5455 GB, free: 2.914 MB / 379.1 MB Notification: Performance of sorting global known variables: time 6.877e-05/0.4478, allocations: 109.7 kB / 0.5456 GB, free: 2.809 MB / 379.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4478, allocations: 0 / 0.5456 GB, free: 2.809 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.000244/0.448, allocations: 23.92 kB / 0.5457 GB, free: 2.785 MB / 379.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006667/0.4487, allocations: 343 kB / 0.546 GB, free: 2.469 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 7.181e-05/0.4488, allocations: 19.98 kB / 0.546 GB, free: 2.449 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4488, allocations: 0 / 0.546 GB, free: 2.449 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-05/0.4488, allocations: 8 kB / 0.546 GB, free: 2.441 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.449, allocations: 11.98 kB / 0.546 GB, free: 2.43 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/0.4492, allocations: 99.94 kB / 0.5461 GB, free: 2.305 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.4495, allocations: 0.6885 MB / 0.5468 GB, free: 1.59 MB / 379.1 MB Notification: Performance of simCode: alias equations: time 5.55e-05/0.4496, allocations: 16.17 kB / 0.5468 GB, free: 1.574 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.4496, allocations: 15.42 kB / 0.5468 GB, free: 1.559 MB / 379.1 MB Notification: Performance of SimCode: time 1.873e-06/0.4496, allocations: 0 / 0.5468 GB, free: 1.559 MB / 379.1 MB Notification: Performance of Templates: time 0.0031/0.4527, allocations: 1.089 MB / 0.5479 GB, free: 484 kB / 379.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile (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 & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins/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