Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 124.2 kB / 17.78 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002317/0.002317, allocations: 189.2 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 249.1 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1801/0.1801, allocations: 38.51 MB / 342.5 MB, free: 8.09 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 65.5 kB / 478.6 MB, free: 33.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.123, allocations: 61.25 MB / 0.5272 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006473/0.1294, allocations: 4.602 MB / 0.5317 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1317, allocations: 1.317 MB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.1319, allocations: 15.88 kB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.1331, allocations: 406.3 kB / 0.5334 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005842/0.1337, allocations: 258.8 kB / 0.5337 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.1343, allocations: 159.7 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006832/0.1349, allocations: 0.5608 MB / 0.5344 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.1353, allocations: 229.2 kB / 0.5346 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.1357, allocations: 258.9 kB / 0.5348 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.1362, allocations: 299 kB / 0.5351 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/0.1363, allocations: 32 kB / 0.5351 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.1365, allocations: 135.8 kB / 0.5353 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.1367, allocations: 207.5 kB / 0.5355 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.137, allocations: 214.9 kB / 0.5357 GB, free: 8.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.1376, allocations: 0.5098 MB / 0.5362 GB, free: 8.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1376, allocations: 3.938 kB / 0.5362 GB, free: 8.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1376, allocations: 0 / 0.5362 GB, free: 8.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1376, allocations: 0 / 0.5362 GB, free: 8.195 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001243/0.1389, allocations: 0.7219 MB / 0.5369 GB, free: 7.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1389, allocations: 11.89 kB / 0.5369 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.012e-05/0.139, allocations: 74.7 kB / 0.537 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005787/0.1396, allocations: 88.59 kB / 0.537 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007512/0.1403, allocations: 407.5 kB / 0.5374 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.1403, allocations: 25.38 kB / 0.5375 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.1405, allocations: 55.8 kB / 0.5375 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/0.1412, allocations: 484.8 kB / 0.538 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.1412, allocations: 0 / 0.538 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.1413, allocations: 12 kB / 0.538 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.1414, allocations: 28.98 kB / 0.538 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006063/0.142, allocations: 351.7 kB / 0.5383 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.1444, allocations: 1.722 MB / 0.54 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.1447, allocations: 145.1 kB / 0.5402 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1448, allocations: 109.7 kB / 0.5403 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1449, allocations: 8.219 kB / 0.5403 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1449, allocations: 38.55 kB / 0.5403 GB, free: 3.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.1449, allocations: 0 / 0.5403 GB, free: 3.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001539/0.1464, allocations: 0.8914 MB / 0.5412 GB, free: 2.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.1465, allocations: 81.23 kB / 0.5413 GB, free: 2.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.1468, allocations: 316.4 kB / 0.5416 GB, free: 2.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1469, allocations: 29.7 kB / 0.5416 GB, free: 2.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.147, allocations: 260 kB / 0.5418 GB, free: 2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.1471, allocations: 67.45 kB / 0.5419 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.766e-05/0.1472, allocations: 61.94 kB / 0.542 GB, free: 1.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1474, allocations: 342.8 kB / 0.5423 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.1475, allocations: 100.2 kB / 0.5424 GB, free: 1.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.1478, allocations: 201.2 kB / 0.5426 GB, free: 1.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.1482, allocations: 331.4 kB / 0.5429 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1482, allocations: 0 / 0.5429 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008904/0.1491, allocations: 461.6 kB / 0.5433 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.1491, allocations: 11.98 kB / 0.5433 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000622/0.1497, allocations: 316.3 kB / 0.5436 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004792/0.1502, allocations: 136.7 kB / 0.5438 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.1504, allocations: 55.92 kB / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/0.1535, allocations: 2.445 MB / 0.5462 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.1537, allocations: 8 kB / 0.5462 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.1537, allocations: 12 kB / 0.5462 GB, free: 13.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000269/0.154, allocations: 193.7 kB / 0.5464 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.1541, allocations: 35.75 kB / 0.5465 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.1546, allocations: 269.2 kB / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1546, allocations: 4 kB / 0.5467 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.1546, allocations: 0 / 0.5467 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1546, allocations: 3.984 kB / 0.5467 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.1558, allocations: 0.7424 MB / 0.5474 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.1558, allocations: 0 / 0.5474 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.156, allocations: 39.98 kB / 0.5475 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/0.1561, allocations: 36.77 kB / 0.5475 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.1561, allocations: 16.05 kB / 0.5475 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1561, allocations: 0 / 0.5475 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1561, allocations: 0 / 0.5475 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.1567, allocations: 445.2 kB / 0.548 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.1569, allocations: 109 kB / 0.5481 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.1569, allocations: 4 kB / 0.5481 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.157, allocations: 11.98 kB / 0.5481 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.1571, allocations: 15.92 kB / 0.5481 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1571, allocations: 11.94 kB / 0.5481 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.1573, allocations: 223 kB / 0.5483 GB, free: 10.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1573, allocations: 0 / 0.5483 GB, free: 10.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.1578, allocations: 84 kB / 0.5484 GB, free: 10.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009266/0.1587, allocations: 0.9797 MB / 0.5494 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007572/0.1595, allocations: 398.5 kB / 0.5497 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1595, allocations: 0 / 0.5497 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.1597, allocations: 173.8 kB / 0.5499 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.1601, allocations: 65.8 kB / 0.55 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/0.1649, allocations: 3.556 MB / 0.5534 GB, free: 5.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.1655, allocations: 0.8458 MB / 0.5543 GB, free: 4.605 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.1656, allocations: 58.92 kB / 0.5543 GB, free: 4.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.1658, allocations: 123.4 kB / 0.5544 GB, free: 4.43 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1658, allocations: 4 kB / 0.5544 GB, free: 4.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.2011, allocations: 7.422 MB / 0.5617 GB, free: 13.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.69, allocations: 10.03 kB / 0.5617 GB, free: 13.15 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.626004621386528]