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.00114/0.00114, allocations: 176.3 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 223.5 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007194/0.0007192, allocations: 93.48 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1802/0.1802, allocations: 38.07 MB / 358.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003453, allocations: 8 kB / 425.2 MB, free: 37.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.292, allocations: 56.32 MB / 481.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.4116, allocations: 87.21 MB / 0.5554 GB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001966/0.4136, allocations: 0.8587 MB / 0.5563 GB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006701/0.4203, allocations: 2.431 MB / 0.5587 GB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4204, allocations: 0 / 0.5587 GB, free: 11.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.4204, allocations: 4 kB / 0.5587 GB, free: 11.79 MB / 394.7 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.0004312/0.4208, allocations: 371.3 kB / 0.559 GB, free: 11.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.4209, allocations: 12.03 kB / 0.559 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.421, allocations: 8.844 kB / 0.559 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.4212, allocations: 192.2 kB / 0.5592 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.4212, allocations: 384 / 0.5592 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.4213, allocations: 4.375 kB / 0.5592 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.4214, allocations: 63.95 kB / 0.5593 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4214, allocations: 192 / 0.5593 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4214, allocations: 3.938 kB / 0.5593 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4214, allocations: 0 / 0.5593 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.4215, allocations: 27.98 kB / 0.5593 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.4219, allocations: 284.7 kB / 0.5596 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.662e-05/0.4221, allocations: 38.62 kB / 0.5596 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/0.4221, allocations: 12.89 kB / 0.5596 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.4221, allocations: 0 / 0.5596 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.4222, allocations: 38.56 kB / 0.5597 GB, free: 10.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.4222, allocations: 0 / 0.5597 GB, free: 10.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002112/0.4224, allocations: 53.62 kB / 0.5597 GB, free: 10.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.4224, allocations: 77.11 kB / 0.5598 GB, free: 10.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.4226, allocations: 145.7 kB / 0.5599 GB, free: 10.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4227, allocations: 29.7 kB / 0.56 GB, free: 10.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.4228, allocations: 92.08 kB / 0.56 GB, free: 10.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.4228, allocations: 15.84 kB / 0.5601 GB, free: 10.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.4228, allocations: 0 / 0.5601 GB, free: 10.13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.423, allocations: 322.8 kB / 0.5604 GB, free: 9.805 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.423, allocations: 4 kB / 0.5604 GB, free: 9.801 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.737e-05/0.423, allocations: 17.7 kB / 0.5604 GB, free: 9.777 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.4231, allocations: 24.73 kB / 0.5604 GB, free: 9.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4231, allocations: 0 / 0.5604 GB, free: 9.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.702e-05/0.4232, allocations: 57.59 kB / 0.5605 GB, free: 9.688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4232, allocations: 4 kB / 0.5605 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4232, allocations: 4.031 kB / 0.5605 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4232, allocations: 4.266 kB / 0.5605 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.4233, allocations: 4 kB / 0.5605 GB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.4233, allocations: 7.984 kB / 0.5605 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.4234, allocations: 4 kB / 0.5605 GB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.4234, allocations: 0 / 0.5605 GB, free: 9.66 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.4235, allocations: 117.7 kB / 0.5606 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.4235, allocations: 7.906 kB / 0.5606 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.4237, allocations: 73.5 kB / 0.5607 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4237, allocations: 0 / 0.5607 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4237, allocations: 0 / 0.5607 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4237, allocations: 0 / 0.5607 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.4239, allocations: 173.6 kB / 0.5609 GB, free: 9.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4239, allocations: 0 / 0.5609 GB, free: 9.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.424, allocations: 7.984 kB / 0.5609 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.424, allocations: 0 / 0.5609 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.424, allocations: 4 kB / 0.5609 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.424, allocations: 0 / 0.5609 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.424, allocations: 4 kB / 0.5609 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.4242, allocations: 151.3 kB / 0.561 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.4243, allocations: 93 kB / 0.5611 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.4243, allocations: 0 / 0.5611 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.4243, allocations: 0 / 0.5611 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.4244, allocations: 4 kB / 0.5611 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.4244, allocations: 0 / 0.5611 GB, free: 8.934 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.4245, allocations: 116.4 kB / 0.5612 GB, free: 8.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.714e-06/0.4245, allocations: 0 / 0.5612 GB, free: 8.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.4248, allocations: 27.88 kB / 0.5612 GB, free: 8.793 MB / 394.7 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 (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.000877/0.4257, allocations: 404.5 kB / 0.5616 GB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.4258, allocations: 15.98 kB / 0.5616 GB, free: 8.434 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4258, allocations: 4 kB / 0.5616 GB, free: 8.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.247e-05/0.4258, allocations: 11.94 kB / 0.5617 GB, free: 8.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.4261, allocations: 19.86 kB / 0.5617 GB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.4265, allocations: 155.2 kB / 0.5618 GB, free: 8.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.4268, allocations: 0.6926 MB / 0.5625 GB, free: 7.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.563e-05/0.4269, allocations: 15.97 kB / 0.5625 GB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.4269, allocations: 11.44 kB / 0.5625 GB, free: 7.473 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4269, allocations: 0 / 0.5625 GB, free: 7.473 MB / 394.7 MB Notification: Performance of Templates: time 0.003746/0.4307, allocations: 1.136 MB / 0.5636 GB, free: 6.34 MB / 394.7 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/jenkins1/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