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.001321/0.001321, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001501/0.001501, allocations: 215.8 kB / 23.75 MB, free: 4.668 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1842/0.1842, allocations: 38.52 MB / 352.5 MB, free: 12.55 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.002311/0.002311, allocations: 68.14 kB / 492.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3125, allocations: 62.46 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002815/0.3153, allocations: 1.508 MB / 0.5434 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009161/0.3163, allocations: 0.4946 MB / 0.5439 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.3163, allocations: 1.094 kB / 0.5439 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.3165, allocations: 24.62 kB / 0.544 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.3168, allocations: 79.09 kB / 0.544 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.317, allocations: 88.88 kB / 0.5441 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.3172, allocations: 66.75 kB / 0.5442 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.3172, allocations: 6.141 kB / 0.5442 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.3174, allocations: 34.19 kB / 0.5442 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.829e-05/0.3174, allocations: 32.44 kB / 0.5443 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.3174, allocations: 2.812 kB / 0.5443 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.3176, allocations: 90.67 kB / 0.5443 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.3177, allocations: 26.94 kB / 0.5444 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.3177, allocations: 25.08 kB / 0.5444 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.318, allocations: 138.6 kB / 0.5445 GB, free: 14.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.318, allocations: 4 kB / 0.5445 GB, free: 14.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.318, allocations: 0 / 0.5445 GB, free: 14.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.318, allocations: 0 / 0.5445 GB, free: 14.51 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.000461/0.3184, allocations: 330.7 kB / 0.5448 GB, free: 14.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3185, allocations: 12.92 kB / 0.5449 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.3185, allocations: 36.52 kB / 0.5449 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.3185, allocations: 12.48 kB / 0.5449 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.3187, allocations: 144.9 kB / 0.545 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3188, allocations: 1.969 kB / 0.545 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.3188, allocations: 5.438 kB / 0.545 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.3189, allocations: 67.2 kB / 0.5451 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.3189, allocations: 0 / 0.5451 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.3189, allocations: 1.094 kB / 0.5451 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3189, allocations: 1.188 kB / 0.5451 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.319, allocations: 18.05 kB / 0.5451 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.3193, allocations: 256.4 kB / 0.5454 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.747e-05/0.3194, allocations: 42.89 kB / 0.5454 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.3195, allocations: 8.391 kB / 0.5454 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3195, allocations: 3.984 kB / 0.5454 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3195, allocations: 36.47 kB / 0.5455 GB, free: 13.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3195, allocations: 0 / 0.5455 GB, free: 13.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001898/0.3197, allocations: 58.14 kB / 0.5455 GB, free: 13.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.3198, allocations: 78.48 kB / 0.5456 GB, free: 13.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.32, allocations: 164.1 kB / 0.5457 GB, free: 13.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.32, allocations: 25.7 kB / 0.5458 GB, free: 13.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.32, allocations: 96.22 kB / 0.5459 GB, free: 13.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.3201, allocations: 13.25 kB / 0.5459 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.3201, allocations: 16.47 kB / 0.5459 GB, free: 13.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3202, allocations: 317.5 kB / 0.5462 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.86e-05/0.3203, allocations: 10.73 kB / 0.5462 GB, free: 12.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.3203, allocations: 19.22 kB / 0.5462 GB, free: 12.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.088e-05/0.3203, allocations: 26.41 kB / 0.5462 GB, free: 12.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3203, allocations: 3.938 kB / 0.5463 GB, free: 12.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.655e-05/0.3204, allocations: 48.78 kB / 0.5463 GB, free: 12.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3205, allocations: 8.109 kB / 0.5463 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3205, allocations: 1.375 kB / 0.5463 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3205, allocations: 0 / 0.5463 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.3205, allocations: 4.125 kB / 0.5463 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3205, allocations: 1.375 kB / 0.5463 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.3206, allocations: 11.97 kB / 0.5463 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.3206, allocations: 1.375 kB / 0.5463 GB, free: 12.68 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 8.802e-05/0.3207, allocations: 111.3 kB / 0.5464 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.3207, allocations: 10.69 kB / 0.5464 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.3208, allocations: 61.03 kB / 0.5465 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3208, allocations: 1.312 kB / 0.5465 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3208, allocations: 0 / 0.5465 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3208, allocations: 3.938 kB / 0.5465 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.321, allocations: 153.9 kB / 0.5467 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.321, allocations: 4 kB / 0.5467 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.552e-05/0.3211, allocations: 5.406 kB / 0.5467 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3211, allocations: 0 / 0.5467 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3211, allocations: 4 kB / 0.5467 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3211, allocations: 1.5 kB / 0.5467 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3211, allocations: 7.969 kB / 0.5467 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.3212, allocations: 151.1 kB / 0.5468 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.3212, allocations: 10.78 kB / 0.5468 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.3213, allocations: 9.047 kB / 0.5468 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.3213, allocations: 1.062 kB / 0.5468 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.3213, allocations: 1.156 kB / 0.5468 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3213, allocations: 5.219 kB / 0.5468 GB, free: 12.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.3214, allocations: 121.3 kB / 0.547 GB, free: 12.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3214, allocations: 0 / 0.547 GB, free: 12.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.3217, allocations: 37.55 kB / 0.547 GB, free: 12.02 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.001884/0.3236, allocations: 1.031 MB / 0.548 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.555e-05/0.3237, allocations: 19.05 kB / 0.548 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3237, allocations: 0 / 0.548 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.3237, allocations: 10.38 kB / 0.548 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.3241, allocations: 19.02 kB / 0.548 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.3255, allocations: 1.38 MB / 0.5494 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.3259, allocations: 0.6893 MB / 0.5501 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.882e-05/0.326, allocations: 16.03 kB / 0.5501 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.326, allocations: 26.3 kB / 0.5501 GB, free: 9.148 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.326, allocations: 0 / 0.5501 GB, free: 9.148 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.3566, allocations: 3.157 MB / 0.5532 GB, free: 7.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.25, allocations: 5.906 kB / 0.5532 GB, free: 7.273 MB / 398.1 MB " [Timeout remaining time 649] (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.078289582161233]