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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 181.6 kB / 8.135 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.2 MB / 213.7 MB, free: 13.85 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.0009743/0.000974, allocations: 94.27 kB / 261.7 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1692/0.1692, allocations: 37.97 MB / 347.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.049e-05/1.051e-05, allocations: 0 / 410 MB, free: 46.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 56.31 MB / 466.3 MB, free: 6.48 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2875/0.4037, allocations: 86.39 MB / 0.5398 GB, free: 8.207 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.006129/0.4099, allocations: 2.136 MB / 0.5418 GB, free: 6.086 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.006113/0.4161, allocations: 2.07 MB / 0.5439 GB, free: 4.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.4161, allocations: 0 / 0.5439 GB, free: 4.016 MB / 378.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.0005127/0.4166, allocations: 390.2 kB / 0.5442 GB, free: 3.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.4167, allocations: 8.031 kB / 0.5442 GB, free: 3.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.4167, allocations: 11.91 kB / 0.5443 GB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.417, allocations: 191 kB / 0.5444 GB, free: 3.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.417, allocations: 0 / 0.5444 GB, free: 3.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.4171, allocations: 0 / 0.5444 GB, free: 3.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.24e-05/0.4171, allocations: 19.98 kB / 0.5445 GB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.4173, allocations: 59.34 kB / 0.5445 GB, free: 3.254 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4173, allocations: 3.984 kB / 0.5445 GB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.4173, allocations: 3.906 kB / 0.5445 GB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4173, allocations: 0 / 0.5445 GB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.4176, allocations: 253.4 kB / 0.5448 GB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.974e-05/0.4177, allocations: 38.56 kB / 0.5448 GB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.4178, allocations: 12.92 kB / 0.5448 GB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.4178, allocations: 3.984 kB / 0.5448 GB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.4178, allocations: 46.44 kB / 0.5449 GB, free: 2.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.4179, allocations: 0 / 0.5449 GB, free: 2.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001584/0.418, allocations: 49.69 kB / 0.5449 GB, free: 2.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.4181, allocations: 81.11 kB / 0.545 GB, free: 2.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.4182, allocations: 128.9 kB / 0.5451 GB, free: 2.555 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.4182, allocations: 25.7 kB / 0.5451 GB, free: 2.523 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.4183, allocations: 92.06 kB / 0.5452 GB, free: 2.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.4183, allocations: 11.81 kB / 0.5452 GB, free: 2.418 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.4183, allocations: 0 / 0.5452 GB, free: 2.418 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4184, allocations: 322.8 kB / 0.5455 GB, free: 2.094 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.4184, allocations: 4 kB / 0.5455 GB, free: 2.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.915e-05/0.4185, allocations: 13.72 kB / 0.5456 GB, free: 2.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.4185, allocations: 8 kB / 0.5456 GB, free: 2.062 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4185, allocations: 0 / 0.5456 GB, free: 2.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.835e-05/0.4186, allocations: 57.47 kB / 0.5456 GB, free: 2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.4186, allocations: 4 kB / 0.5456 GB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.4186, allocations: 0 / 0.5456 GB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.4186, allocations: 4.031 kB / 0.5456 GB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.4187, allocations: 11.98 kB / 0.5456 GB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4187, allocations: 4 kB / 0.5456 GB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.4187, allocations: 0 / 0.5456 GB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.4187, allocations: 3.984 kB / 0.5456 GB, free: 1.973 MB / 378.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 () * 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 7.65e-05/0.4188, allocations: 104.9 kB / 0.5457 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.4189, allocations: 7.906 kB / 0.5457 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.419, allocations: 57.62 kB / 0.5458 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.419, allocations: 3.984 kB / 0.5458 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.419, allocations: 4 kB / 0.5458 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.419, allocations: 0 / 0.5458 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.4192, allocations: 150.2 kB / 0.546 GB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4192, allocations: 3.906 kB / 0.546 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.4193, allocations: 4 kB / 0.546 GB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4193, allocations: 0 / 0.546 GB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.4193, allocations: 0 / 0.546 GB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4193, allocations: 0 / 0.546 GB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4193, allocations: 0 / 0.546 GB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001347/0.4195, allocations: 147.7 kB / 0.5461 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.4195, allocations: 97.03 kB / 0.5462 GB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.4196, allocations: 0 / 0.5462 GB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.4196, allocations: 0 / 0.5462 GB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.4196, allocations: 0 / 0.5462 GB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.4197, allocations: 4 kB / 0.5462 GB, free: 1.316 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.17e-05/0.4197, allocations: 107.2 kB / 0.5463 GB, free: 1.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003034/0.4201, allocations: 39.77 kB / 0.5463 GB, free: 1.172 MB / 378.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 () * 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.0006662/0.4207, allocations: 304.6 kB / 0.5466 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.104e-05/0.4208, allocations: 12 kB / 0.5466 GB, free: 0.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4208, allocations: 4 kB / 0.5466 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.4209, allocations: 4 kB / 0.5466 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.4211, allocations: 19.92 kB / 0.5467 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.4214, allocations: 87.81 kB / 0.5468 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.4217, allocations: 0.711 MB / 0.5474 GB, free: 0 / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4217, allocations: 0 / 0.5474 GB, free: 0 / 378.7 MB Notification: Performance of Templates: time 0.003661/0.4254, allocations: 1.128 MB / 0.5485 GB, free: 14.88 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