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.0009372/0.0009372, allocations: 97.06 kB / 16.3 MB, free: 5.656 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.0009364/0.0009364, allocations: 179.9 kB / 17.19 MB, free: 5.59 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.235/1.235, allocations: 223.2 MB / 241.1 MB, free: 264 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1614/0.1614, allocations: 38.09 MB / 330.3 MB, free: 8.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002614, allocations: 8 kB / 400 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09294, allocations: 59.17 MB / 459.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001622/0.0946, allocations: 1.065 MB / 460.2 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005001/0.09512, allocations: 331.7 kB / 460.5 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.09516, allocations: 0 / 460.5 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.09533, allocations: 15.92 kB / 460.5 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.09545, allocations: 27.91 kB / 460.6 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.09564, allocations: 67.78 kB / 460.6 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.989e-05/0.09575, allocations: 39.89 kB / 460.7 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.09579, allocations: 8 kB / 460.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.09591, allocations: 23.91 kB / 460.7 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.953e-05/0.09595, allocations: 15.88 kB / 460.7 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.09597, allocations: 4 kB / 460.7 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.09606, allocations: 31.92 kB / 460.7 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.0961, allocations: 15.97 kB / 460.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.09613, allocations: 33.64 kB / 460.8 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.09625, allocations: 63.91 kB / 460.9 MB, free: 5.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.09626, allocations: 0 / 460.9 MB, free: 5.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09626, allocations: 4 kB / 460.9 MB, free: 5.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.09627, allocations: 0 / 460.9 MB, free: 5.695 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.0003447/0.09662, allocations: 371.4 kB / 461.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.704e-05/0.09665, allocations: 8.031 kB / 461.2 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.09669, allocations: 7.906 kB / 461.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.09688, allocations: 194.8 kB / 461.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.09689, allocations: 4 kB / 461.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.09691, allocations: 3.953 kB / 461.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.436e-05/0.09701, allocations: 63.41 kB / 461.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.09702, allocations: 0 / 461.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.09703, allocations: 0 / 461.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.09704, allocations: 4 kB / 461.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.427e-05/0.09709, allocations: 19.98 kB / 461.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.09741, allocations: 288.8 kB / 461.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.529e-05/0.09749, allocations: 38.56 kB / 461.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.09752, allocations: 0 / 461.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.09755, allocations: 30.56 kB / 461.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.02e-07/0.09755, allocations: 0 / 461.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001432/0.0977, allocations: 61.69 kB / 461.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.09776, allocations: 77.11 kB / 462 MB, free: 4.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.09789, allocations: 145.8 kB / 462.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.09791, allocations: 29.7 kB / 462.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.09797, allocations: 92.14 kB / 462.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.09799, allocations: 11.75 kB / 462.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.098, allocations: 0 / 462.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.433e-05/0.0981, allocations: 318.8 kB / 462.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.09812, allocations: 4 kB / 462.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.242e-05/0.09814, allocations: 25.7 kB / 462.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.09818, allocations: 7.953 kB / 462.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.09819, allocations: 4.031 kB / 462.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.2e-05/0.09827, allocations: 53.86 kB / 462.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.09829, allocations: 8 kB / 462.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.0983, allocations: 3.984 kB / 462.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.09832, allocations: 0 / 462.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/0.09837, allocations: 4 kB / 462.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.09838, allocations: 0 / 462.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.0984, allocations: 0 / 462.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.09841, allocations: 4 kB / 462.7 MB, free: 3.617 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.002e-05/0.0985, allocations: 125.8 kB / 462.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.09853, allocations: 4 kB / 462.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.09865, allocations: 69.36 kB / 462.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.09866, allocations: 0 / 462.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.09867, allocations: 0 / 462.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.09868, allocations: 0 / 462.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.09885, allocations: 169.7 kB / 463.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.09886, allocations: 3.953 kB / 463.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.09889, allocations: 8 kB / 463.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.0989, allocations: 4 kB / 463.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.09891, allocations: 0 / 463.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.09891, allocations: 4 kB / 463.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.09892, allocations: 3.984 kB / 463.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.09903, allocations: 147.5 kB / 463.2 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.09908, allocations: 84.97 kB / 463.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.09911, allocations: 4 kB / 463.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.09916, allocations: 0 / 463.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.09918, allocations: 7.922 kB / 463.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.09918, allocations: 4 kB / 463.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.563e-05/0.09927, allocations: 114.4 kB / 463.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09927, allocations: 0 / 463.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.09951, allocations: 19.98 kB / 463.5 MB, free: 2.754 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 (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.0008127/0.1003, allocations: 390.1 kB / 463.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.04e-05/0.1004, allocations: 15.98 kB / 463.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1004, allocations: 4 kB / 463.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.602e-05/0.1004, allocations: 11.92 kB / 463.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.1007, allocations: 16 kB / 463.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.1009, allocations: 154.9 kB / 464 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1012, allocations: 0.6887 MB / 464.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.273e-05/0.1012, allocations: 20.16 kB / 464.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.1013, allocations: 11.44 kB / 464.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1013, allocations: 3.938 kB / 464.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of Templates: time 0.003037/0.1043, allocations: 1.118 MB / 465.9 MB, free: 432 kB / 334.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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