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.001383/0.001383, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001481/0.001481, allocations: 206.8 kB / 23.73 MB, free: 4.398 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1854/0.1854, allocations: 38.55 MB / 352.5 MB, free: 12.33 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="me",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.002273/0.002273, allocations: 67.89 kB / 492.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3329, allocations: 62.47 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003164/0.3361, allocations: 1.492 MB / 0.5434 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000986/0.3371, allocations: 479.4 kB / 0.5438 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.3371, allocations: 1.031 kB / 0.5438 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.3373, allocations: 20.97 kB / 0.5439 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.3376, allocations: 76.69 kB / 0.5439 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.3378, allocations: 89.22 kB / 0.544 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.338, allocations: 64.66 kB / 0.5441 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.338, allocations: 10.86 kB / 0.5441 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3382, allocations: 36.22 kB / 0.5441 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.3382, allocations: 28.73 kB / 0.5442 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.3382, allocations: 4.125 kB / 0.5442 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.3384, allocations: 97.25 kB / 0.5442 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.3385, allocations: 19.23 kB / 0.5443 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.3385, allocations: 17.72 kB / 0.5443 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.3387, allocations: 133.5 kB / 0.5444 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3387, allocations: 5.516 kB / 0.5444 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3387, allocations: 0 / 0.5444 GB, free: 14.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3387, allocations: 0 / 0.5444 GB, free: 14.4 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.0004631/0.3392, allocations: 331 kB / 0.5447 GB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3392, allocations: 12.7 kB / 0.5447 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.3393, allocations: 36.06 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.3393, allocations: 9.359 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.3395, allocations: 141.4 kB / 0.5449 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3395, allocations: 1.531 kB / 0.5449 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.3396, allocations: 6.375 kB / 0.5449 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3397, allocations: 86.33 kB / 0.545 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3397, allocations: 7.922 kB / 0.545 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.3397, allocations: 1.094 kB / 0.545 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.3397, allocations: 0 / 0.545 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.126e-05/0.3398, allocations: 17.98 kB / 0.545 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.3401, allocations: 256 kB / 0.5453 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.3403, allocations: 43.69 kB / 0.5453 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.3403, allocations: 8.516 kB / 0.5453 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3403, allocations: 1.062 kB / 0.5453 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.3403, allocations: 35.62 kB / 0.5454 GB, free: 13.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3403, allocations: 0 / 0.5454 GB, free: 13.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001651/0.3405, allocations: 59.8 kB / 0.5454 GB, free: 13.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.3406, allocations: 78.27 kB / 0.5455 GB, free: 13.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.3407, allocations: 154.5 kB / 0.5456 GB, free: 13.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3408, allocations: 25.7 kB / 0.5457 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.3408, allocations: 104.3 kB / 0.5458 GB, free: 13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.3408, allocations: 17.48 kB / 0.5458 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.3409, allocations: 13.19 kB / 0.5458 GB, free: 12.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.341, allocations: 324.5 kB / 0.5461 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.341, allocations: 3.438 kB / 0.5461 GB, free: 12.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/0.3411, allocations: 46.45 kB / 0.5462 GB, free: 12.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.765e-05/0.3411, allocations: 22.38 kB / 0.5462 GB, free: 12.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3411, allocations: 0 / 0.5462 GB, free: 12.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.229e-05/0.3412, allocations: 51.08 kB / 0.5462 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.3412, allocations: 9.656 kB / 0.5462 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.3412, allocations: 4.031 kB / 0.5462 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3412, allocations: 1.625 kB / 0.5462 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.3413, allocations: 7.219 kB / 0.5462 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3413, allocations: 1.562 kB / 0.5462 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.3413, allocations: 3.938 kB / 0.5463 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.3413, allocations: 1.125 kB / 0.5463 GB, free: 12.52 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 9.298e-05/0.3414, allocations: 118.9 kB / 0.5464 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.3414, allocations: 7.547 kB / 0.5464 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.3416, allocations: 65.06 kB / 0.5464 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3416, allocations: 1.125 kB / 0.5464 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3416, allocations: 4 kB / 0.5464 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3416, allocations: 4.312 kB / 0.5464 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.3418, allocations: 142.5 kB / 0.5466 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3418, allocations: 3.984 kB / 0.5466 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.3418, allocations: 8.406 kB / 0.5466 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3418, allocations: 0 / 0.5466 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3418, allocations: 5.047 kB / 0.5466 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3418, allocations: 0.875 kB / 0.5466 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3418, allocations: 0 / 0.5466 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.3419, allocations: 152.5 kB / 0.5467 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.342, allocations: 10.58 kB / 0.5468 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.342, allocations: 9.391 kB / 0.5468 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.3421, allocations: 0 / 0.5468 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.3421, allocations: 1.188 kB / 0.5468 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.3421, allocations: 5.625 kB / 0.5468 GB, free: 11.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.3422, allocations: 122.6 kB / 0.5469 GB, free: 11.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3422, allocations: 0 / 0.5469 GB, free: 11.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000272/0.3425, allocations: 33.5 kB / 0.5469 GB, free: 11.87 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.001985/0.3445, allocations: 1.054 MB / 0.5479 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.589e-05/0.3446, allocations: 15.36 kB / 0.548 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3446, allocations: 0 / 0.548 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-05/0.3446, allocations: 14.81 kB / 0.548 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3449, allocations: 28.17 kB / 0.548 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.3464, allocations: 1.368 MB / 0.5493 GB, free: 9.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.926e-05/0.3465, allocations: 78.23 kB / 0.5494 GB, free: 9.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.845e-05/0.3465, allocations: 19.94 kB / 0.5494 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.3466, allocations: 24.92 kB / 0.5495 GB, free: 9.629 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3466, allocations: 0 / 0.5495 GB, free: 9.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.3768, allocations: 3.627 MB / 0.553 GB, free: 7.273 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 10.14 kB / 0.553 GB, free: 7.273 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: 14.711593667045236]