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.001604/0.001604, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001796/0.001796, allocations: 219 kB / 21.46 MB, free: 1.605 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.501/1.501, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.191/0.191, allocations: 38.5 MB / 349.4 MB, free: 2.621 MB / 270.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.001966/0.001966, allocations: 69.22 kB / 487.8 MB, free: 32.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1267, allocations: 62.42 MB / 0.5373 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003093/0.1298, allocations: 1.411 MB / 0.5387 GB, free: 8.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009297/0.1307, allocations: 0.491 MB / 0.5392 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.1308, allocations: 4 kB / 0.5392 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.131, allocations: 19.86 kB / 0.5392 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.1312, allocations: 83.61 kB / 0.5393 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.1315, allocations: 75.03 kB / 0.5394 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.1316, allocations: 67.83 kB / 0.5394 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.1317, allocations: 4.172 kB / 0.5394 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.1318, allocations: 43.78 kB / 0.5395 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.399e-05/0.1319, allocations: 31.84 kB / 0.5395 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1319, allocations: 4 kB / 0.5395 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.1321, allocations: 95.94 kB / 0.5396 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.1322, allocations: 27.84 kB / 0.5396 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.1322, allocations: 15.88 kB / 0.5396 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.1325, allocations: 139.8 kB / 0.5398 GB, free: 7.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1325, allocations: 7.984 kB / 0.5398 GB, free: 7.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1325, allocations: 0 / 0.5398 GB, free: 7.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1325, allocations: 0 / 0.5398 GB, free: 7.059 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.0005193/0.133, allocations: 406.7 kB / 0.5402 GB, free: 6.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.133, allocations: 12.03 kB / 0.5402 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.921e-05/0.133, allocations: 192 / 0.5402 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.1331, allocations: 38.69 kB / 0.5402 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.1331, allocations: 12.83 kB / 0.5402 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1334, allocations: 192.3 kB / 0.5404 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1334, allocations: 4.375 kB / 0.5404 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1334, allocations: 3.938 kB / 0.5404 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1335, allocations: 63.41 kB / 0.5405 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1335, allocations: 0 / 0.5405 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1335, allocations: 3.984 kB / 0.5405 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1335, allocations: 4 kB / 0.5405 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.306e-05/0.1336, allocations: 15.94 kB / 0.5405 GB, free: 6.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.134, allocations: 288.8 kB / 0.5408 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1341, allocations: 34.56 kB / 0.5408 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.1342, allocations: 12.92 kB / 0.5408 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1342, allocations: 0 / 0.5408 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.1342, allocations: 42.48 kB / 0.5409 GB, free: 5.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1342, allocations: 0 / 0.5409 GB, free: 5.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001953/0.1344, allocations: 57.64 kB / 0.5409 GB, free: 5.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.1345, allocations: 77.11 kB / 0.541 GB, free: 5.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.1348, allocations: 156.7 kB / 0.5411 GB, free: 5.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1348, allocations: 29.7 kB / 0.5412 GB, free: 5.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.1349, allocations: 104.1 kB / 0.5413 GB, free: 5.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.1349, allocations: 3.953 kB / 0.5413 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.1349, allocations: 17.7 kB / 0.5413 GB, free: 5.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1351, allocations: 318.8 kB / 0.5416 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.1351, allocations: 0 / 0.5416 GB, free: 4.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.931e-05/0.1352, allocations: 33.81 kB / 0.5416 GB, free: 4.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.021e-05/0.1352, allocations: 20.86 kB / 0.5417 GB, free: 4.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1352, allocations: 4.031 kB / 0.5417 GB, free: 4.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.486e-05/0.1353, allocations: 53.64 kB / 0.5417 GB, free: 4.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1353, allocations: 4 kB / 0.5417 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1353, allocations: 0 / 0.5417 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1353, allocations: 3.938 kB / 0.5417 GB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.1354, allocations: 7.984 kB / 0.5417 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1354, allocations: 0 / 0.5417 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.1354, allocations: 7.938 kB / 0.5417 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1354, allocations: 0 / 0.5417 GB, free: 4.816 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.0001278/0.1356, allocations: 125.7 kB / 0.5419 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.1356, allocations: 7.953 kB / 0.5419 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.1357, allocations: 65.91 kB / 0.5419 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1357, allocations: 0 / 0.5419 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1357, allocations: 0 / 0.5419 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1357, allocations: 3.938 kB / 0.5419 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.136, allocations: 177.6 kB / 0.5421 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.136, allocations: 3.938 kB / 0.5421 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.136, allocations: 4 kB / 0.5421 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.136, allocations: 4 kB / 0.5421 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.136, allocations: 4 kB / 0.5421 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.136, allocations: 0 / 0.5421 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.136, allocations: 0 / 0.5421 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.1361, allocations: 155.4 kB / 0.5423 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.1362, allocations: 88.98 kB / 0.5423 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.1362, allocations: 4 kB / 0.5423 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.435e-05/0.1363, allocations: 4 kB / 0.5423 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.1363, allocations: 3.938 kB / 0.5424 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1363, allocations: 8 kB / 0.5424 GB, free: 4.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1364, allocations: 115.2 kB / 0.5425 GB, free: 3.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1364, allocations: 0 / 0.5425 GB, free: 3.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.1367, allocations: 35.92 kB / 0.5425 GB, free: 3.914 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.002022/0.1387, allocations: 1.029 MB / 0.5435 GB, free: 3.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.1388, allocations: 16 kB / 0.5435 GB, free: 3.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1388, allocations: 0 / 0.5435 GB, free: 3.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.11e-05/0.1388, allocations: 11.98 kB / 0.5435 GB, free: 3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.1392, allocations: 15.94 kB / 0.5436 GB, free: 2.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.1407, allocations: 1.376 MB / 0.5449 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.141, allocations: 0.6963 MB / 0.5456 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.12e-05/0.1411, allocations: 16.12 kB / 0.5456 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.1412, allocations: 31.42 kB / 0.5456 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1412, allocations: 0 / 0.5456 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.1618, allocations: 3.069 MB / 0.5486 GB, free: 13.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.54/8.701, allocations: 14.91 kB / 0.5486 GB, free: 13.7 MB / 414.1 MB " [Timeout remaining time 651] (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: 11.795023077051155]