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.001638/0.001638, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00148/0.00148, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.1853/0.1853, allocations: 38.55 MB / 353.2 MB, free: 12.32 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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="cs",version="2.0",platforms={"static"}) [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.002/0.002, allocations: 63.91 kB / 493.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3413, allocations: 62.46 MB / 0.5427 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002924/0.3442, allocations: 1.488 MB / 0.5441 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008921/0.3451, allocations: 488.4 kB / 0.5446 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.3452, allocations: 1.094 kB / 0.5446 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.3454, allocations: 16.11 kB / 0.5446 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.3457, allocations: 84.48 kB / 0.5447 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.3459, allocations: 80.34 kB / 0.5448 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.3461, allocations: 66.7 kB / 0.5448 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.3462, allocations: 9.859 kB / 0.5448 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.3463, allocations: 29.52 kB / 0.5449 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.003e-05/0.3464, allocations: 36.38 kB / 0.5449 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.3464, allocations: 2.875 kB / 0.5449 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.3466, allocations: 90.58 kB / 0.545 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.472e-05/0.3467, allocations: 25.97 kB / 0.545 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.3467, allocations: 20.77 kB / 0.545 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.347, allocations: 134.7 kB / 0.5452 GB, free: 14.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.347, allocations: 1.469 kB / 0.5452 GB, free: 14.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.347, allocations: 0 / 0.5452 GB, free: 14.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3471, allocations: 0 / 0.5452 GB, free: 14.39 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.0005557/0.3476, allocations: 330.8 kB / 0.5455 GB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.3477, allocations: 12.89 kB / 0.5455 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.367e-05/0.3477, allocations: 5.969 kB / 0.5455 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.3477, allocations: 36.5 kB / 0.5455 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.3478, allocations: 8.516 kB / 0.5455 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.348, allocations: 146 kB / 0.5457 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.348, allocations: 4.312 kB / 0.5457 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.348, allocations: 5.75 kB / 0.5457 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.3482, allocations: 90.44 kB / 0.5458 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3482, allocations: 0 / 0.5458 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3482, allocations: 1.312 kB / 0.5458 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3482, allocations: 0 / 0.5458 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.063e-05/0.3483, allocations: 18.42 kB / 0.5458 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.3487, allocations: 251.4 kB / 0.546 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.3489, allocations: 39.16 kB / 0.5461 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.3489, allocations: 8.984 kB / 0.5461 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.3489, allocations: 1.375 kB / 0.5461 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.349, allocations: 35.92 kB / 0.5461 GB, free: 13.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.349, allocations: 0 / 0.5461 GB, free: 13.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002051/0.3492, allocations: 63.45 kB / 0.5462 GB, free: 13.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.3492, allocations: 82.42 kB / 0.5463 GB, free: 13.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.3494, allocations: 154.8 kB / 0.5464 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3495, allocations: 31.08 kB / 0.5464 GB, free: 13.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.3495, allocations: 96.22 kB / 0.5465 GB, free: 12.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3496, allocations: 13.27 kB / 0.5465 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.3496, allocations: 20.39 kB / 0.5466 GB, free: 12.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3498, allocations: 317.6 kB / 0.5469 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.3498, allocations: 4.125 kB / 0.5469 GB, free: 12.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.846e-05/0.3499, allocations: 53.08 kB / 0.5469 GB, free: 12.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.3499, allocations: 17.11 kB / 0.5469 GB, free: 12.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3499, allocations: 1.375 kB / 0.5469 GB, free: 12.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.887e-05/0.35, allocations: 55.33 kB / 0.547 GB, free: 12.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.35, allocations: 5.5 kB / 0.547 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.35, allocations: 4.031 kB / 0.547 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.35, allocations: 5.359 kB / 0.547 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.3501, allocations: 4.125 kB / 0.547 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3501, allocations: 0 / 0.547 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.3501, allocations: 5.312 kB / 0.547 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3501, allocations: 1.375 kB / 0.547 GB, free: 12.51 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.0001131/0.3503, allocations: 115.3 kB / 0.5471 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.3503, allocations: 6.703 kB / 0.5471 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.3505, allocations: 65.08 kB / 0.5472 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3505, allocations: 1.375 kB / 0.5472 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3505, allocations: 4 kB / 0.5472 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3505, allocations: 3.938 kB / 0.5472 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.3507, allocations: 142.2 kB / 0.5473 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3507, allocations: 0 / 0.5473 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.3507, allocations: 8 kB / 0.5473 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3507, allocations: 1.344 kB / 0.5473 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.3508, allocations: 0 / 0.5473 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3508, allocations: 2 kB / 0.5473 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3508, allocations: 0 / 0.5473 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.3509, allocations: 159.5 kB / 0.5475 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.3509, allocations: 6.078 kB / 0.5475 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.351, allocations: 5.156 kB / 0.5475 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-05/0.351, allocations: 1.156 kB / 0.5475 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.351, allocations: 9 kB / 0.5475 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.351, allocations: 1.156 kB / 0.5475 GB, free: 11.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.3511, allocations: 124.9 kB / 0.5476 GB, free: 11.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3511, allocations: 0.75 kB / 0.5476 GB, free: 11.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.3514, allocations: 36.92 kB / 0.5477 GB, free: 11.86 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.002036/0.3535, allocations: 1.065 MB / 0.5487 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.3536, allocations: 14.31 kB / 0.5487 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3536, allocations: 0 / 0.5487 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.401e-05/0.3536, allocations: 18.89 kB / 0.5487 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.3541, allocations: 19.89 kB / 0.5488 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.3559, allocations: 1.369 MB / 0.5501 GB, free: 9.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.658e-05/0.3559, allocations: 82.5 kB / 0.5502 GB, free: 9.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.803e-05/0.356, allocations: 15.77 kB / 0.5502 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.3561, allocations: 25.2 kB / 0.5502 GB, free: 9.617 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3561, allocations: 0 / 0.5502 GB, free: 9.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.3812, allocations: 3.28 MB / 0.5534 GB, free: 7.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.92, allocations: 9.188 kB / 0.5534 GB, free: 7.652 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins1/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: 15.02671075402759]