Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001339/0.001339, allocations: 113 kB / 18.49 MB, free: 4.535 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.00149/0.00149, allocations: 217.4 kB / 21.46 MB, free: 1.582 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.467/1.467, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.1863/0.1863, allocations: 38.5 MB / 349.4 MB, free: 2.582 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.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.001951/0.001951, allocations: 67.91 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.112, allocations: 62.41 MB / 0.5374 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006926/0.1189, allocations: 4.64 MB / 0.5419 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.1216, allocations: 1.523 MB / 0.5434 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.1218, allocations: 15.88 kB / 0.5434 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.123, allocations: 386.3 kB / 0.5438 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005763/0.1236, allocations: 242.8 kB / 0.544 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.1243, allocations: 259.4 kB / 0.5442 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006924/0.125, allocations: 0.5533 MB / 0.5448 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004636/0.1255, allocations: 266.5 kB / 0.545 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004469/0.1259, allocations: 267 kB / 0.5453 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/0.1264, allocations: 338.9 kB / 0.5456 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.488e-05/0.1265, allocations: 36 kB / 0.5456 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.1268, allocations: 155.7 kB / 0.5458 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.1271, allocations: 235.4 kB / 0.546 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.1273, allocations: 246.8 kB / 0.5462 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007448/0.1281, allocations: 0.5992 MB / 0.5468 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1281, allocations: 0 / 0.5468 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1281, allocations: 0 / 0.5468 GB, free: 13.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1281, allocations: 0 / 0.5468 GB, free: 13.8 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001611/0.1297, allocations: 0.7925 MB / 0.5476 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1298, allocations: 8.031 kB / 0.5476 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.559e-05/0.1298, allocations: 13.19 kB / 0.5476 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.1299, allocations: 90.69 kB / 0.5477 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008393/0.1308, allocations: 128.5 kB / 0.5478 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007209/0.1315, allocations: 420.3 kB / 0.5482 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.1315, allocations: 33.12 kB / 0.5483 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.1317, allocations: 55.97 kB / 0.5483 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009651/0.1326, allocations: 0.6372 MB / 0.5489 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.1327, allocations: 3.938 kB / 0.5489 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.1327, allocations: 20 kB / 0.549 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.1328, allocations: 36.98 kB / 0.549 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007941/0.1336, allocations: 479.5 kB / 0.5495 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003945/0.1376, allocations: 3.011 MB / 0.5524 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.1379, allocations: 183.9 kB / 0.5526 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.1381, allocations: 101.7 kB / 0.5527 GB, free: 7.477 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.1381, allocations: 7.984 kB / 0.5527 GB, free: 7.469 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.1382, allocations: 34.5 kB / 0.5527 GB, free: 7.426 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 2.145e-06/0.1382, allocations: 0 / 0.5527 GB, free: 7.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=21): time 0.001536/0.1397, allocations: 0.8471 MB / 0.5535 GB, free: 6.527 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.1398, allocations: 89.17 kB / 0.5536 GB, free: 6.422 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.1401, allocations: 345.6 kB / 0.554 GB, free: 6.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.1402, allocations: 29.7 kB / 0.554 GB, free: 6.043 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.1404, allocations: 311.8 kB / 0.5543 GB, free: 5.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/0.1405, allocations: 79.33 kB / 0.5544 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.1406, allocations: 86.08 kB / 0.5544 GB, free: 5.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1408, allocations: 350.8 kB / 0.5548 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.141, allocations: 120.8 kB / 0.5549 GB, free: 5.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.1414, allocations: 338.8 kB / 0.5552 GB, free: 4.664 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/0.1421, allocations: 0.4969 MB / 0.5557 GB, free: 4.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1421, allocations: 0 / 0.5557 GB, free: 4.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001085/0.1432, allocations: 0.5527 MB / 0.5562 GB, free: 3.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1432, allocations: 8.156 kB / 0.5562 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005594/0.1437, allocations: 280.2 kB / 0.5565 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003692/0.1441, allocations: 80.78 kB / 0.5566 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.1445, allocations: 95.83 kB / 0.5567 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.1463, allocations: 1.73 MB / 0.5584 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.1466, allocations: 16 kB / 0.5584 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.1466, allocations: 31.92 kB / 0.5584 GB, free: 1.133 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002754/0.1469, allocations: 218.3 kB / 0.5586 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.147, allocations: 35.77 kB / 0.5587 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005423/0.1475, allocations: 288.8 kB / 0.5589 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1475, allocations: 4 kB / 0.5589 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.1475, allocations: 0 / 0.5589 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1475, allocations: 3.984 kB / 0.5589 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.1489, allocations: 0.8037 MB / 0.5597 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1489, allocations: 0 / 0.5597 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.1492, allocations: 55.97 kB / 0.5598 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1492, allocations: 3.938 kB / 0.5598 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.1492, allocations: 4 kB / 0.5598 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.1492, allocations: 7.938 kB / 0.5598 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.1492, allocations: 4 kB / 0.5598 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006477/0.1499, allocations: 481.6 kB / 0.5603 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.15, allocations: 104.9 kB / 0.5604 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.1501, allocations: 15.97 kB / 0.5604 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.1502, allocations: 8 kB / 0.5604 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.1503, allocations: 15.98 kB / 0.5604 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.1503, allocations: 16.22 kB / 0.5604 GB, free: 14.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002596/0.1506, allocations: 231.2 kB / 0.5606 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1506, allocations: 3.938 kB / 0.5606 GB, free: 14.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004934/0.1511, allocations: 96 kB / 0.5607 GB, free: 14.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001/0.1521, allocations: 1.011 MB / 0.5617 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008035/0.1529, allocations: 439.9 kB / 0.5621 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1529, allocations: 0 / 0.5621 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.153, allocations: 111.8 kB / 0.5622 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.1535, allocations: 58.16 kB / 0.5623 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/0.159, allocations: 4.005 MB / 0.5662 GB, free: 8.691 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.1596, allocations: 0.8662 MB / 0.5671 GB, free: 7.797 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002799/0.1598, allocations: 111.2 kB / 0.5672 GB, free: 7.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.1601, allocations: 151.4 kB / 0.5673 GB, free: 7.543 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1601, allocations: 0 / 0.5673 GB, free: 7.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04237/0.2024, allocations: 7.554 MB / 0.5747 GB, free: 148 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.85, allocations: 8 kB / 0.5747 GB, free: 140 kB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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: 13.983344785985537]