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.001271/0.001271, allocations: 106.3 kB / 17.74 MB, free: 5.324 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.001423/0.001423, allocations: 181.4 kB / 18.67 MB, free: 4.406 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.375/1.375, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1728/0.1728, allocations: 38.04 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 59.89 kB / 458.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3732, allocations: 58.06 MB / 0.5047 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003012/0.3763, allocations: 1.395 MB / 0.5061 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000626/0.3769, allocations: 358 kB / 0.5065 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.377, allocations: 4 kB / 0.5065 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.3773, allocations: 28.5 kB / 0.5065 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.3775, allocations: 27.2 kB / 0.5065 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.3778, allocations: 87.05 kB / 0.5066 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.3779, allocations: 52.23 kB / 0.5066 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/0.378, allocations: 6.016 kB / 0.5066 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.3782, allocations: 39.67 kB / 0.5067 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.3782, allocations: 13.64 kB / 0.5067 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3783, allocations: 3.25 kB / 0.5067 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.3784, allocations: 57.03 kB / 0.5068 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.82e-05/0.3785, allocations: 18.14 kB / 0.5068 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.3785, allocations: 18.7 kB / 0.5068 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.3787, allocations: 90.23 kB / 0.5069 GB, free: 6.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3787, allocations: 1.562 kB / 0.5069 GB, free: 6.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3787, allocations: 0 / 0.5069 GB, free: 6.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3788, allocations: 0 / 0.5069 GB, free: 6.438 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.0003633/0.3791, allocations: 381.3 kB / 0.5072 GB, free: 6.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3792, allocations: 12.22 kB / 0.5073 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.3792, allocations: 8.812 kB / 0.5073 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.3794, allocations: 192.2 kB / 0.5074 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.3794, allocations: 1.625 kB / 0.5074 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.3794, allocations: 6.688 kB / 0.5075 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.3795, allocations: 65.25 kB / 0.5075 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3796, allocations: 0.7969 kB / 0.5075 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3796, allocations: 7.938 kB / 0.5075 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3796, allocations: 1.125 kB / 0.5075 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.3796, allocations: 22.23 kB / 0.5075 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.38, allocations: 287.1 kB / 0.5078 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.586e-05/0.3801, allocations: 39.03 kB / 0.5079 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/0.3801, allocations: 14.53 kB / 0.5079 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3801, allocations: 5.078 kB / 0.5079 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.3802, allocations: 36.23 kB / 0.5079 GB, free: 5.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3802, allocations: 4 kB / 0.5079 GB, free: 5.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001646/0.3803, allocations: 50.48 kB / 0.508 GB, free: 5.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.3804, allocations: 79.03 kB / 0.508 GB, free: 5.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.3805, allocations: 142.1 kB / 0.5082 GB, free: 5.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.3805, allocations: 29.7 kB / 0.5082 GB, free: 5.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.3806, allocations: 94.2 kB / 0.5083 GB, free: 5.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.3806, allocations: 5.766 kB / 0.5083 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.3806, allocations: 18.59 kB / 0.5083 GB, free: 4.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.3807, allocations: 331.2 kB / 0.5086 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.3807, allocations: 2.875 kB / 0.5086 GB, free: 4.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/0.3807, allocations: 21.3 kB / 0.5087 GB, free: 4.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.3808, allocations: 23.73 kB / 0.5087 GB, free: 4.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3808, allocations: 0 / 0.5087 GB, free: 4.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.736e-05/0.3809, allocations: 51.98 kB / 0.5087 GB, free: 4.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3809, allocations: 5.656 kB / 0.5087 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3809, allocations: 0 / 0.5087 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3809, allocations: 1.906 kB / 0.5087 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.381, allocations: 13.22 kB / 0.5087 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.381, allocations: 0 / 0.5087 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.381, allocations: 1.062 kB / 0.5087 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.381, allocations: 1.859 kB / 0.5087 GB, free: 4.578 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.593e-05/0.3811, allocations: 119.7 kB / 0.5089 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.3811, allocations: 7.156 kB / 0.5089 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.3812, allocations: 54.64 kB / 0.5089 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3812, allocations: 1.156 kB / 0.5089 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3812, allocations: 4 kB / 0.5089 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.3813, allocations: 87.86 kB / 0.509 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3813, allocations: 1.922 kB / 0.509 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.298e-05/0.3813, allocations: 3.938 kB / 0.509 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.3814, allocations: 2.812 kB / 0.509 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.066e-05/0.3814, allocations: 124.5 kB / 0.5091 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.327e-05/0.3815, allocations: 224.2 kB / 0.5093 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.495e-05/0.3816, allocations: 14.5 kB / 0.5094 GB, free: 3.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.769e-05/0.3817, allocations: 112.8 kB / 0.5095 GB, free: 3.879 MB / 382.1 MB Notification: Performance of Backend: time 4.51e-07/0.3817, allocations: 3.938 kB / 0.5095 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.3829, allocations: 441.2 kB / 0.5099 GB, free: 3.688 MB / 382.1 MB Notification: Performance of SimCode: time 0.000416/0.3833, allocations: 0.607 MB / 0.5105 GB, free: 3.078 MB / 382.1 MB Notification: Performance of Templates: time 0.004006/0.3874, allocations: 1.327 MB / 0.5118 GB, free: 2.91 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/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