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.001405/0.001405, allocations: 106.3 kB / 16.92 MB, free: 6.109 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.001534/0.001534, allocations: 191.3 kB / 17.85 MB, free: 5.277 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.338/1.338, allocations: 222.9 MB / 241.5 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1739/0.1739, allocations: 38.04 MB / 329.7 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 62.64 kB / 398.8 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09704/0.09839, allocations: 58.06 MB / 456.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002835/0.1013, allocations: 1.375 MB / 458.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005961/0.1019, allocations: 371.3 kB / 458.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.1019, allocations: 0 / 458.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.1021, allocations: 23.84 kB / 458.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1023, allocations: 43.83 kB / 458.7 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1025, allocations: 81.84 kB / 458.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1026, allocations: 55.84 kB / 458.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.1027, allocations: 7.984 kB / 458.8 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1028, allocations: 23.92 kB / 458.8 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.937e-05/0.1029, allocations: 23.86 kB / 458.9 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1029, allocations: 4 kB / 458.9 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.103, allocations: 47.97 kB / 458.9 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.103, allocations: 15.92 kB / 458.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.1031, allocations: 23.86 kB / 458.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1032, allocations: 95.77 kB / 459 MB, free: 5.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1033, allocations: 3.938 kB / 459 MB, free: 5.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1033, allocations: 0 / 459 MB, free: 5.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.1033, allocations: 0 / 459 MB, free: 5.91 MB / 334.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.0003611/0.1036, allocations: 378.1 kB / 459.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1037, allocations: 11.89 kB / 459.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.1037, allocations: 12.78 kB / 459.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1039, allocations: 188.2 kB / 459.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1039, allocations: 8.375 kB / 459.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.1039, allocations: 4.375 kB / 459.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.104, allocations: 63.53 kB / 459.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1041, allocations: 0 / 459.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1041, allocations: 0 / 459.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1041, allocations: 3.938 kB / 459.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/0.1041, allocations: 23.92 kB / 459.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.1045, allocations: 288.9 kB / 460 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.583e-05/0.1045, allocations: 30.58 kB / 460 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.1046, allocations: 12.91 kB / 460 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1046, allocations: 4 kB / 460 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1046, allocations: 34.5 kB / 460.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1046, allocations: 4 kB / 460.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001636/0.1048, allocations: 57.59 kB / 460.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1049, allocations: 77.11 kB / 460.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.105, allocations: 145.8 kB / 460.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.105, allocations: 25.7 kB / 460.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.1051, allocations: 96.03 kB / 460.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.1051, allocations: 11.84 kB / 460.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.1051, allocations: 13.72 kB / 460.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.1052, allocations: 326.8 kB / 460.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.1053, allocations: 4 kB / 460.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.1053, allocations: 29.64 kB / 460.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.241e-05/0.1053, allocations: 16.86 kB / 460.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1053, allocations: 0 / 460.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.823e-05/0.1054, allocations: 53.88 kB / 460.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1054, allocations: 4 kB / 460.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1054, allocations: 0 / 460.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1055, allocations: 4.031 kB / 460.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.177e-05/0.1055, allocations: 4 kB / 460.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1055, allocations: 8.016 kB / 460.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.1056, allocations: 4 kB / 460.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-06/0.1056, allocations: 0 / 460.9 MB, free: 3.762 MB / 334.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 7.662e-05/0.1056, allocations: 121.7 kB / 461.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1057, allocations: 7.906 kB / 461.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.1058, allocations: 57.58 kB / 461.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1058, allocations: 4 kB / 461.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1058, allocations: 0 / 461.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1058, allocations: 0 / 461.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.106, allocations: 177.6 kB / 461.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.106, allocations: 0 / 461.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.1061, allocations: 8 kB / 461.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1061, allocations: 0 / 461.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1061, allocations: 3.984 kB / 461.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1061, allocations: 0 / 461.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1061, allocations: 0 / 461.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.1062, allocations: 151.3 kB / 461.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.1063, allocations: 89.05 kB / 461.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.1063, allocations: 4 kB / 461.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.1063, allocations: 0 / 461.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.1064, allocations: 4 kB / 461.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1064, allocations: 3.938 kB / 461.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.1065, allocations: 113.8 kB / 461.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1065, allocations: 0 / 461.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1067, allocations: 16 kB / 461.7 MB, free: 2.91 MB / 334.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.000798/0.1075, allocations: 398.8 kB / 462.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.538e-05/0.1076, allocations: 27.92 kB / 462.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1076, allocations: 0 / 462.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.846e-05/0.1077, allocations: 12 kB / 462.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.108, allocations: 15.5 kB / 462.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.1082, allocations: 145.2 kB / 462.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.1085, allocations: 0.6923 MB / 463 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.107e-05/0.1085, allocations: 11.98 kB / 463 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.1086, allocations: 23.42 kB / 463 MB, free: 1.691 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1086, allocations: 0 / 463 MB, free: 1.691 MB / 334.1 MB Notification: Performance of Templates: time 0.003442/0.112, allocations: 1.166 MB / 464.2 MB, free: 0.5273 MB / 334.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