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.00201/0.00201, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001577/0.001577, allocations: 206.5 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.594/1.594, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1861/0.1861, allocations: 38.57 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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="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=2500,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002447/0.002447, allocations: 71.89 kB / 493 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.388, allocations: 62.47 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003996/0.392, allocations: 1.481 MB / 0.5439 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.3931, allocations: 483.8 kB / 0.5443 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.3931, allocations: 3.938 kB / 0.5443 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.3934, allocations: 28.31 kB / 0.5444 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.3937, allocations: 73.08 kB / 0.5444 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.394, allocations: 84.84 kB / 0.5445 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.3942, allocations: 66.48 kB / 0.5446 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.3942, allocations: 5.781 kB / 0.5446 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.3943, allocations: 33.06 kB / 0.5446 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.3944, allocations: 24.48 kB / 0.5446 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.3944, allocations: 2.562 kB / 0.5446 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.3947, allocations: 97.97 kB / 0.5447 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.3947, allocations: 23.83 kB / 0.5447 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.3948, allocations: 24.62 kB / 0.5448 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.3951, allocations: 130.9 kB / 0.5449 GB, free: 14.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3951, allocations: 1.219 kB / 0.5449 GB, free: 14.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3951, allocations: 0 / 0.5449 GB, free: 14.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3951, allocations: 0 / 0.5449 GB, free: 14.57 MB / 398.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.000647/0.3957, allocations: 331.1 kB / 0.5452 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3958, allocations: 12.52 kB / 0.5452 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.3958, allocations: 9.016 kB / 0.5452 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.3961, allocations: 141.9 kB / 0.5454 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3961, allocations: 6.375 kB / 0.5454 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.3961, allocations: 10.38 kB / 0.5454 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3963, allocations: 88.95 kB / 0.5455 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3963, allocations: 1.219 kB / 0.5455 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3963, allocations: 0 / 0.5455 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3963, allocations: 1.156 kB / 0.5455 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.808e-05/0.3964, allocations: 25.69 kB / 0.5455 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.3969, allocations: 226.9 kB / 0.5457 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.397, allocations: 31.8 kB / 0.5457 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.397, allocations: 20.66 kB / 0.5458 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.3971, allocations: 1.594 kB / 0.5458 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.3971, allocations: 39.62 kB / 0.5458 GB, free: 13.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.3971, allocations: 0 / 0.5458 GB, free: 13.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002152/0.3973, allocations: 58.92 kB / 0.5459 GB, free: 13.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.3974, allocations: 78.52 kB / 0.5459 GB, free: 13.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.3976, allocations: 157.7 kB / 0.5461 GB, free: 13.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3976, allocations: 26.83 kB / 0.5461 GB, free: 13.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3977, allocations: 99.58 kB / 0.5462 GB, free: 13.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.3978, allocations: 5.109 kB / 0.5462 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.3978, allocations: 18.09 kB / 0.5462 GB, free: 13.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.398, allocations: 324.7 kB / 0.5465 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.3981, allocations: 7.281 kB / 0.5465 GB, free: 12.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.3981, allocations: 45.8 kB / 0.5466 GB, free: 12.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.021e-05/0.3982, allocations: 25.38 kB / 0.5466 GB, free: 12.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3982, allocations: 0 / 0.5466 GB, free: 12.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.132e-05/0.3983, allocations: 52.64 kB / 0.5467 GB, free: 12.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3983, allocations: 5.125 kB / 0.5467 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3983, allocations: 0 / 0.5467 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3983, allocations: 1.219 kB / 0.5467 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.3984, allocations: 4.219 kB / 0.5467 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.3984, allocations: 0 / 0.5467 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.3984, allocations: 5.188 kB / 0.5467 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.3984, allocations: 5.25 kB / 0.5467 GB, free: 12.77 MB / 398.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 0.0001201/0.3985, allocations: 126.8 kB / 0.5468 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.3986, allocations: 7.672 kB / 0.5468 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.3987, allocations: 53.56 kB / 0.5469 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3987, allocations: 0 / 0.5469 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3987, allocations: 1.406 kB / 0.5469 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3987, allocations: 3.984 kB / 0.5469 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.3989, allocations: 120.7 kB / 0.547 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.3989, allocations: 0 / 0.547 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.399, allocations: 4.5 kB / 0.547 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.399, allocations: 5.156 kB / 0.547 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.399, allocations: 0 / 0.547 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.399, allocations: 9.078 kB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.399, allocations: 0 / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.3992, allocations: 160.2 kB / 0.5471 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.3992, allocations: 6.391 kB / 0.5472 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.3992, allocations: 1.125 kB / 0.5472 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.3993, allocations: 9.312 kB / 0.5472 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.3993, allocations: 1.375 kB / 0.5472 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3993, allocations: 9.297 kB / 0.5472 GB, free: 12.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.3994, allocations: 117.5 kB / 0.5473 GB, free: 12.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3994, allocations: 4 kB / 0.5473 GB, free: 12.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.3997, allocations: 36.48 kB / 0.5473 GB, free: 12.14 MB / 398.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 (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.001727/0.4015, allocations: 466.8 kB / 0.5478 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.4016, allocations: 19.06 kB / 0.5478 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4016, allocations: 7.938 kB / 0.5478 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.012e-05/0.4016, allocations: 9.922 kB / 0.5478 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.4021, allocations: 17.41 kB / 0.5478 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.4025, allocations: 170.2 kB / 0.548 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.688e-05/0.4026, allocations: 77.86 kB / 0.5481 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.182e-05/0.4027, allocations: 19.7 kB / 0.5481 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.4027, allocations: 18.08 kB / 0.5481 GB, free: 11.65 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4027, allocations: 4 kB / 0.5481 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Templates: time 0.005616/0.4084, allocations: 1.64 MB / 0.5497 GB, free: 10.77 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.546313147991896]