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.0007863/0.0007863, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008394/0.0008394, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 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.9002/0.9002, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.231/0.231, allocations: 29.4 MB / 290.1 MB, free: 2.445 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.277e-06/1.106e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001735/0.001746, allocations: 1.496 MB / 431.7 MB, free: 12.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005387/0.002285, allocations: 486.6 kB / 432.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.002331, allocations: 4 kB / 432.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.002499, allocations: 19.84 kB / 432.2 MB, free: 11.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.002699, allocations: 75.62 kB / 432.3 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.00285, allocations: 83.64 kB / 432.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.002965, allocations: 67.83 kB / 432.4 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.002999, allocations: 8.172 kB / 432.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.003099, allocations: 47.78 kB / 432.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.003153, allocations: 26.91 kB / 432.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.003166, allocations: 4 kB / 432.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.003285, allocations: 91.88 kB / 432.6 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.003327, allocations: 15.92 kB / 432.6 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.00335, allocations: 19.92 kB / 432.6 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.003517, allocations: 135.6 kB / 432.7 MB, free: 11.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.00352, allocations: 4 kB / 432.8 MB, free: 11.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003521, allocations: 0 / 432.8 MB, free: 11.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.003524, allocations: 0 / 432.8 MB, free: 11.05 MB / 410.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.0002921/0.003816, allocations: 341.4 kB / 433.1 MB, free: 10.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.003847, allocations: 11.98 kB / 433.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.408e-05/0.003871, allocations: 38.75 kB / 433.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.003893, allocations: 8.891 kB / 433.1 MB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.004023, allocations: 136.7 kB / 433.3 MB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-06/0.004029, allocations: 384 / 433.3 MB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.004036, allocations: 4.375 kB / 433.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.257e-05/0.004128, allocations: 85.67 kB / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.004135, allocations: 3.938 kB / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-06/0.004141, allocations: 3.938 kB / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.004144, allocations: 0 / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.155e-05/0.004186, allocations: 19.98 kB / 433.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.004416, allocations: 263.9 kB / 433.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.282e-05/0.004479, allocations: 38.5 kB / 433.7 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.004495, allocations: 8.922 kB / 433.7 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.004511, allocations: 3.984 kB / 433.7 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.004532, allocations: 30.56 kB / 433.7 MB, free: 9.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.21e-07/0.004533, allocations: 0 / 433.7 MB, free: 9.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001116/0.004645, allocations: 65.62 kB / 433.8 MB, free: 9.863 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.004676, allocations: 77.11 kB / 433.9 MB, free: 9.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.00478, allocations: 149.7 kB / 434 MB, free: 9.613 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.00479, allocations: 33.7 kB / 434 MB, free: 9.574 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.004829, allocations: 100.1 kB / 434.1 MB, free: 9.473 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/0.00484, allocations: 7.891 kB / 434.2 MB, free: 9.465 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.004862, allocations: 17.66 kB / 434.2 MB, free: 9.441 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.004936, allocations: 326.8 kB / 434.5 MB, free: 9.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.004949, allocations: 8 kB / 434.5 MB, free: 9.105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.477e-05/0.004973, allocations: 47.41 kB / 434.5 MB, free: 9.047 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.004997, allocations: 16.86 kB / 434.6 MB, free: 9.027 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.004998, allocations: 0 / 434.6 MB, free: 9.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.552e-05/0.005044, allocations: 53.64 kB / 434.6 MB, free: 8.969 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.005053, allocations: 4 kB / 434.6 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.005055, allocations: 0 / 434.6 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/0.005064, allocations: 4.031 kB / 434.6 MB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.309e-05/0.005107, allocations: 11.92 kB / 434.6 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.00511, allocations: 4 kB / 434.6 MB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.005126, allocations: 3.953 kB / 434.6 MB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-06/0.005128, allocations: 0 / 434.6 MB, free: 8.941 MB / 410.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 5.306e-05/0.005181, allocations: 117.8 kB / 434.8 MB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.005198, allocations: 7.953 kB / 434.8 MB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.00527, allocations: 62.02 kB / 434.8 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.005271, allocations: 0 / 434.8 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.005274, allocations: 3.938 kB / 434.8 MB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005277, allocations: 4 kB / 434.8 MB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.005391, allocations: 156.6 kB / 435 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005391, allocations: 0 / 435 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.005402, allocations: 4 kB / 435 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-07/0.005403, allocations: 0 / 435 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.005407, allocations: 0 / 435 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.005408, allocations: 3.938 kB / 435 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005409, allocations: 0 / 435 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.326e-05/0.005482, allocations: 155.4 kB / 435.1 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.005491, allocations: 4.406 kB / 435.1 MB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-06/0.0055, allocations: 0 / 435.1 MB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.729e-05/0.005527, allocations: 8 kB / 435.2 MB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.005537, allocations: 0 / 435.2 MB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-06/0.005538, allocations: 0 / 435.2 MB, free: 8.344 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.201e-05/0.0056, allocations: 126.4 kB / 435.3 MB, free: 8.223 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0056, allocations: 0 / 435.3 MB, free: 8.223 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.005773, allocations: 47.75 kB / 435.3 MB, free: 8.176 MB / 410.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.001017/0.00679, allocations: 1.05 MB / 436.4 MB, free: 7.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.006903, allocations: 16 kB / 436.4 MB, free: 7.273 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.006905, allocations: 0 / 436.4 MB, free: 7.273 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.42e-05/0.006919, allocations: 15.92 kB / 436.4 MB, free: 7.258 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.007187, allocations: 12 kB / 436.4 MB, free: 7.246 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009643/0.008151, allocations: 1.363 MB / 437.8 MB, free: 5.801 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.312e-05/0.008204, allocations: 83.31 kB / 437.9 MB, free: 5.699 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.022e-05/0.008255, allocations: 15.98 kB / 437.9 MB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.008305, allocations: 28.48 kB / 437.9 MB, free: 5.656 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.008305, allocations: 0 / 437.9 MB, free: 5.656 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.02366, allocations: 3.794 MB / 441.7 MB, free: 1.883 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/6.709, allocations: 2.969 kB / 441.7 MB, free: 1.883 MB / 410.7 MB " [Timeout remaining time 653] (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/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: 8.789416898973286]