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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 109.7 kB / 17.06 MB, free: 5.824 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.00116/0.00116, allocations: 191 kB / 18 MB, free: 4.977 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.491/1.491, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1779/0.1779, allocations: 38.04 MB / 329.9 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 67.91 kB / 458.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4823, allocations: 58.05 MB / 0.5041 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003139/0.4855, allocations: 1.392 MB / 0.5054 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006547/0.4862, allocations: 362.2 kB / 0.5058 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.4862, allocations: 3.969 kB / 0.5058 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.4865, allocations: 24.5 kB / 0.5058 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.4867, allocations: 35.03 kB / 0.5058 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.487, allocations: 80.41 kB / 0.5059 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.4871, allocations: 54.23 kB / 0.506 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.4872, allocations: 4.453 kB / 0.506 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.4874, allocations: 38.95 kB / 0.506 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.4875, allocations: 18.11 kB / 0.506 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.4875, allocations: 2.75 kB / 0.506 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.4876, allocations: 54.08 kB / 0.5061 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.4877, allocations: 19.22 kB / 0.5061 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.4877, allocations: 21.38 kB / 0.5061 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.4879, allocations: 89.88 kB / 0.5062 GB, free: 6.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4879, allocations: 1.703 kB / 0.5062 GB, free: 6.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4879, allocations: 0 / 0.5062 GB, free: 6.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.488, allocations: 0 / 0.5062 GB, free: 6.328 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.0003996/0.4884, allocations: 376.4 kB / 0.5066 GB, free: 5.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4884, allocations: 13.61 kB / 0.5066 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.4885, allocations: 8.312 kB / 0.5066 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.4887, allocations: 191.2 kB / 0.5068 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.4887, allocations: 5.406 kB / 0.5068 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.4887, allocations: 3.312 kB / 0.5068 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.4888, allocations: 67.5 kB / 0.5068 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4889, allocations: 1.219 kB / 0.5068 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4889, allocations: 0.6562 kB / 0.5068 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4889, allocations: 0.9688 kB / 0.5068 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.838e-05/0.4889, allocations: 17.61 kB / 0.5069 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.4893, allocations: 290.9 kB / 0.5071 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.515e-05/0.4894, allocations: 42.45 kB / 0.5072 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.4894, allocations: 14.12 kB / 0.5072 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4894, allocations: 1.969 kB / 0.5072 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.4895, allocations: 36.69 kB / 0.5072 GB, free: 5.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.4895, allocations: 7.938 kB / 0.5072 GB, free: 5.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001771/0.4897, allocations: 49.91 kB / 0.5073 GB, free: 5.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.4897, allocations: 83.16 kB / 0.5074 GB, free: 5.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.4899, allocations: 147.1 kB / 0.5075 GB, free: 5.023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.4899, allocations: 25.7 kB / 0.5075 GB, free: 4.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.4899, allocations: 92.56 kB / 0.5076 GB, free: 4.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.4899, allocations: 11.38 kB / 0.5076 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.49, allocations: 13.55 kB / 0.5076 GB, free: 4.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.75e-05/0.49, allocations: 327 kB / 0.508 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.4901, allocations: 4.469 kB / 0.508 GB, free: 4.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/0.4901, allocations: 21.64 kB / 0.508 GB, free: 4.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.4901, allocations: 22.02 kB / 0.508 GB, free: 4.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4901, allocations: 1.859 kB / 0.508 GB, free: 4.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.479e-05/0.4902, allocations: 54.83 kB / 0.5081 GB, free: 4.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4902, allocations: 5.594 kB / 0.5081 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.4903, allocations: 0 / 0.5081 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4903, allocations: 5.188 kB / 0.5081 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.524e-05/0.4903, allocations: 5.25 kB / 0.5081 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4903, allocations: 0.6562 kB / 0.5081 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.4904, allocations: 1.156 kB / 0.5081 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.4904, allocations: 1.156 kB / 0.5081 GB, free: 4.473 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.242e-05/0.4904, allocations: 120.6 kB / 0.5082 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.4905, allocations: 11.25 kB / 0.5082 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.4906, allocations: 58.31 kB / 0.5083 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4906, allocations: 0 / 0.5083 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4906, allocations: 9.484 kB / 0.5083 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4906, allocations: 0 / 0.5083 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.4908, allocations: 178.6 kB / 0.5084 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4908, allocations: 0 / 0.5084 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.4908, allocations: 5.062 kB / 0.5084 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4908, allocations: 1.875 kB / 0.5084 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.4908, allocations: 0 / 0.5084 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4908, allocations: 1.188 kB / 0.5084 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4908, allocations: 0 / 0.5084 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.386e-05/0.4909, allocations: 152.2 kB / 0.5086 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.491, allocations: 83.22 kB / 0.5087 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.491, allocations: 1.875 kB / 0.5087 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.171e-05/0.4911, allocations: 1.125 kB / 0.5087 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.4911, allocations: 1.922 kB / 0.5087 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.4911, allocations: 1.969 kB / 0.5087 GB, free: 3.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.497e-05/0.4912, allocations: 108.2 kB / 0.5088 GB, free: 3.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4912, allocations: 3.938 kB / 0.5088 GB, free: 3.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.4914, allocations: 29.56 kB / 0.5088 GB, free: 3.746 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.0008588/0.4923, allocations: 392.5 kB / 0.5092 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.4924, allocations: 18.95 kB / 0.5092 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4924, allocations: 0 / 0.5092 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.993e-05/0.4925, allocations: 8.219 kB / 0.5092 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.4928, allocations: 18.31 kB / 0.5092 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.4931, allocations: 145.8 kB / 0.5094 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.4933, allocations: 0.6922 MB / 0.51 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.393e-05/0.4933, allocations: 14.72 kB / 0.5101 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.4934, allocations: 19.56 kB / 0.5101 GB, free: 2.707 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4934, allocations: 0 / 0.5101 GB, free: 2.707 MB / 382.1 MB Notification: Performance of Templates: time 0.004211/0.4976, allocations: 1.176 MB / 0.5112 GB, free: 2.547 MB / 382.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches