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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008936/0.0008936, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00334/0.004233, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009008/0.0009008, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.002075, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9073/0.9073, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08894/0.9963, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1566/0.1566, allocations: 29.45 MB / 273.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1265/0.2831, allocations: 9.537 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="table.u|table.y.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="table.u|table.y.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 284.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.329e-05, allocations: 5.672 kB / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.00267/0.002683, allocations: 1.621 MB / 286 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007672/0.00345, allocations: 0.492 MB / 286.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.003495, allocations: 0 / 286.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.003606, allocations: 33.2 kB / 286.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.003758, allocations: 75.98 kB / 286.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.003913, allocations: 82.38 kB / 286.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.004027, allocations: 72.41 kB / 286.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.289e-05/0.00406, allocations: 5.734 kB / 286.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.004185, allocations: 52.48 kB / 286.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.004243, allocations: 31.23 kB / 286.9 MB, free: 9.992 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.004255, allocations: 4.25 kB / 286.9 MB, free: 9.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.004394, allocations: 92.98 kB / 287 MB, free: 9.953 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.004442, allocations: 18.69 kB / 287 MB, free: 9.945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.004462, allocations: 10.59 kB / 287 MB, free: 9.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.004636, allocations: 119.7 kB / 287.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.004646, allocations: 0 / 287.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004646, allocations: 5.094 kB / 287.1 MB, free: 9.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.004654, allocations: 0 / 287.1 MB, free: 9.879 MB / 282.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.0003397/0.004994, allocations: 326.4 kB / 287.5 MB, free: 9.574 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.005022, allocations: 13.94 kB / 287.5 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.00505, allocations: 8.672 kB / 287.5 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.005181, allocations: 130.2 kB / 287.6 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-06/0.005188, allocations: 1.562 kB / 287.6 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.005197, allocations: 2.781 kB / 287.6 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.233e-05/0.00528, allocations: 85.97 kB / 287.7 MB, free: 9.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.005286, allocations: 1.656 kB / 287.7 MB, free: 9.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.005293, allocations: 3.938 kB / 287.7 MB, free: 9.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.005298, allocations: 1.438 kB / 287.7 MB, free: 9.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.023e-05/0.005318, allocations: 9.297 kB / 287.7 MB, free: 9.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.005501, allocations: 173.3 kB / 287.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.139e-05/0.005553, allocations: 34.05 kB / 287.9 MB, free: 9.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.285e-05/0.005565, allocations: 10.39 kB / 287.9 MB, free: 9.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.005582, allocations: 5.422 kB / 287.9 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.005602, allocations: 39.86 kB / 288 MB, free: 9.055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.005602, allocations: 0 / 288 MB, free: 9.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 8.377e-05/0.005686, allocations: 40.25 kB / 288 MB, free: 9.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.005706, allocations: 52.66 kB / 288.1 MB, free: 8.957 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.625e-05/0.005802, allocations: 159.9 kB / 288.2 MB, free: 8.809 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.005813, allocations: 29.7 kB / 288.2 MB, free: 8.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.005842, allocations: 96.48 kB / 288.3 MB, free: 8.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.005856, allocations: 13 kB / 288.3 MB, free: 8.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.005877, allocations: 14.31 kB / 288.4 MB, free: 8.652 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.005945, allocations: 320.9 kB / 288.7 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-06/0.005952, allocations: 2.344 kB / 288.7 MB, free: 8.332 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/0.005974, allocations: 42.83 kB / 288.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.005995, allocations: 17.45 kB / 288.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005997, allocations: 0 / 288.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.367e-05/0.006041, allocations: 43.72 kB / 288.8 MB, free: 8.227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.006052, allocations: 7.406 kB / 288.8 MB, free: 8.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.006055, allocations: 0 / 288.8 MB, free: 8.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.006065, allocations: 5.094 kB / 288.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-05/0.006104, allocations: 8.062 kB / 288.8 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.006107, allocations: 1.125 kB / 288.8 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.006124, allocations: 5.312 kB / 288.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-06/0.006127, allocations: 0 / 288.8 MB, free: 8.215 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.006171, allocations: 111 kB / 288.9 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.006187, allocations: 11.7 kB / 288.9 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.006255, allocations: 47.41 kB / 289 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006256, allocations: 0 / 289 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006258, allocations: 1.219 kB / 289 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.00626, allocations: 4 kB / 289 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.687e-05/0.006347, allocations: 79.88 kB / 289.1 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.006348, allocations: 0 / 289.1 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.006366, allocations: 13.55 kB / 289.1 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.006377, allocations: 13.38 kB / 289.1 MB, free: 7.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.006379, allocations: 5.281 kB / 289.1 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-06/0.006382, allocations: 0 / 289.1 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006384, allocations: 0 / 289.1 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006384, allocations: 1.688 kB / 289.1 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.775e-05/0.006442, allocations: 130.7 kB / 289.2 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.006453, allocations: 6.375 kB / 289.2 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.666e-05/0.00648, allocations: 7.938 kB / 289.2 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-06/0.006489, allocations: 1.406 kB / 289.2 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.006491, allocations: 3.938 kB / 289.2 MB, free: 7.781 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.33e-05/0.006524, allocations: 34.8 kB / 289.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006524, allocations: 0 / 289.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.006669, allocations: 32.61 kB / 289.3 MB, free: 7.75 MB / 282.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 (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.001207/0.007876, allocations: 0.612 MB / 289.9 MB, free: 7.578 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.813e-05/0.007954, allocations: 20.77 kB / 289.9 MB, free: 7.562 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.007964, allocations: 5.453 kB / 289.9 MB, free: 7.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.73e-05/0.007981, allocations: 14.7 kB / 289.9 MB, free: 7.547 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.008189, allocations: 78.88 kB / 290 MB, free: 7.473 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.008436, allocations: 170.9 kB / 290.2 MB, free: 7.309 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.374e-05/0.00847, allocations: 64.72 kB / 290.3 MB, free: 7.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.208e-05/0.008512, allocations: 17.14 kB / 290.3 MB, free: 7.219 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.00857, allocations: 63.05 kB / 290.3 MB, free: 7.168 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008571, allocations: 0 / 290.3 MB, free: 7.168 MB / 282.7 MB Notification: Performance of Templates: time 0.003225/0.0118, allocations: 1.863 MB / 292.2 MB, free: 6.203 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7995330141857266]