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.001134/0.001134, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.596/1.596, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.000883/0.000883, allocations: 95.2 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1581/0.1581, allocations: 38.06 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003275, allocations: 12 kB / 424 MB, free: 37.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3016, allocations: 56.32 MB / 480.3 MB, free: 9.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.4405, allocations: 87.17 MB / 0.5542 GB, free: 15.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001893/0.4425, allocations: 0.8471 MB / 0.555 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006325/0.4489, allocations: 2.407 MB / 0.5573 GB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4489, allocations: 0 / 0.5573 GB, free: 12.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.4489, allocations: 7.938 kB / 0.5574 GB, free: 12.01 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.00041/0.4493, allocations: 375.1 kB / 0.5577 GB, free: 11.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4494, allocations: 8.031 kB / 0.5577 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.4495, allocations: 7.906 kB / 0.5577 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.4497, allocations: 198.7 kB / 0.5579 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4497, allocations: 4 kB / 0.5579 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.4498, allocations: 4 kB / 0.5579 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.4499, allocations: 63.39 kB / 0.558 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.4499, allocations: 0 / 0.558 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4499, allocations: 4 kB / 0.558 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.45, allocations: 0 / 0.558 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.555e-05/0.45, allocations: 19.98 kB / 0.558 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.4504, allocations: 276.9 kB / 0.5583 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.144e-05/0.4505, allocations: 38.56 kB / 0.5583 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.4506, allocations: 4 kB / 0.5583 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.4506, allocations: 30.56 kB / 0.5583 GB, free: 10.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.4506, allocations: 0 / 0.5583 GB, free: 10.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002064/0.4508, allocations: 61.69 kB / 0.5584 GB, free: 10.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.4509, allocations: 81.11 kB / 0.5585 GB, free: 10.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.451, allocations: 132.9 kB / 0.5586 GB, free: 10.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4511, allocations: 25.7 kB / 0.5586 GB, free: 10.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.4511, allocations: 100.1 kB / 0.5587 GB, free: 10.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.4512, allocations: 11.81 kB / 0.5587 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.4512, allocations: 3.938 kB / 0.5587 GB, free: 10.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4514, allocations: 318.8 kB / 0.559 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.4514, allocations: 4 kB / 0.559 GB, free: 10.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.4514, allocations: 21.72 kB / 0.5591 GB, free: 10.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/0.4514, allocations: 11.92 kB / 0.5591 GB, free: 10.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4515, allocations: 0 / 0.5591 GB, free: 10.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.074e-05/0.4516, allocations: 41.7 kB / 0.5591 GB, free: 9.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4516, allocations: 12.03 kB / 0.5591 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4516, allocations: 4.312 kB / 0.5591 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.4516, allocations: 0 / 0.5591 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.4517, allocations: 4 kB / 0.5591 GB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.4517, allocations: 3.984 kB / 0.5591 GB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.608e-05/0.4517, allocations: 7.906 kB / 0.5592 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4518, allocations: 7.953 kB / 0.5592 GB, free: 9.938 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.0001022/0.4519, allocations: 109.8 kB / 0.5593 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.4519, allocations: 3.984 kB / 0.5593 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.4521, allocations: 69.52 kB / 0.5593 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4521, allocations: 0 / 0.5593 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4521, allocations: 0 / 0.5593 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4521, allocations: 3.938 kB / 0.5593 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.4523, allocations: 181.5 kB / 0.5595 GB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4523, allocations: 0 / 0.5595 GB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.4523, allocations: 8 kB / 0.5595 GB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.4524, allocations: 4 kB / 0.5595 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.4524, allocations: 0 / 0.5595 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4524, allocations: 0 / 0.5595 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4524, allocations: 4 kB / 0.5595 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.4525, allocations: 151.4 kB / 0.5597 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.4526, allocations: 89 kB / 0.5598 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.4526, allocations: 4 kB / 0.5598 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.4527, allocations: 0 / 0.5598 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.4527, allocations: 0 / 0.5598 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.4527, allocations: 4 kB / 0.5598 GB, free: 9.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.066e-05/0.4528, allocations: 108.4 kB / 0.5599 GB, free: 9.105 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4528, allocations: 4 kB / 0.5599 GB, free: 9.102 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.4531, allocations: 31.86 kB / 0.5599 GB, free: 9.07 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.0009651/0.454, allocations: 394.3 kB / 0.5603 GB, free: 8.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.4542, allocations: 23.92 kB / 0.5603 GB, free: 8.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4542, allocations: 0 / 0.5603 GB, free: 8.715 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.995e-05/0.4542, allocations: 11.94 kB / 0.5603 GB, free: 8.703 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.4544, allocations: 15.94 kB / 0.5603 GB, free: 8.688 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.4548, allocations: 159.4 kB / 0.5605 GB, free: 8.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.4552, allocations: 0.6965 MB / 0.5612 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.888e-05/0.4553, allocations: 12.17 kB / 0.5612 GB, free: 7.766 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.4553, allocations: 11.44 kB / 0.5612 GB, free: 7.754 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4553, allocations: 0 / 0.5612 GB, free: 7.754 MB / 394.7 MB Notification: Performance of Templates: time 0.003569/0.4589, allocations: 1.142 MB / 0.5623 GB, free: 6.613 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/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