Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001291/0.001291, allocations: 120.8 kB / 17.79 MB, free: 5.285 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.001334/0.001334, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.43/1.43, allocations: 225.6 MB / 249.1 MB, free: 3.641 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.1814/0.1814, allocations: 38.5 MB / 342.5 MB, free: 8.113 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.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 66.73 kB / 478.6 MB, free: 33.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1059, allocations: 61.25 MB / 0.5272 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007549/0.1134, allocations: 4.745 MB / 0.5319 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002584/0.116, allocations: 1.348 MB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.1163, allocations: 19.88 kB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.1176, allocations: 410.3 kB / 0.5336 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006415/0.1182, allocations: 242.8 kB / 0.5338 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.1187, allocations: 171.6 kB / 0.534 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008057/0.1195, allocations: 0.5529 MB / 0.5345 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005048/0.12, allocations: 265.8 kB / 0.5348 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004346/0.1205, allocations: 262.9 kB / 0.535 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.121, allocations: 299 kB / 0.5353 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.1211, allocations: 28 kB / 0.5353 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.1214, allocations: 135.7 kB / 0.5355 GB, free: 8.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.1217, allocations: 191.4 kB / 0.5356 GB, free: 8.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002751/0.122, allocations: 222.9 kB / 0.5359 GB, free: 8.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008308/0.1228, allocations: 0.533 MB / 0.5364 GB, free: 7.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.361e-05/0.1228, allocations: 3.984 kB / 0.5364 GB, free: 7.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1228, allocations: 0 / 0.5364 GB, free: 7.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1228, allocations: 4 kB / 0.5364 GB, free: 7.988 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001607/0.1244, allocations: 0.7219 MB / 0.5371 GB, free: 7.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.1245, allocations: 11.89 kB / 0.5371 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.1246, allocations: 82.7 kB / 0.5372 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008547/0.1255, allocations: 88.55 kB / 0.5373 GB, free: 7.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008907/0.1264, allocations: 420.3 kB / 0.5377 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.1264, allocations: 29.38 kB / 0.5377 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.1266, allocations: 51.91 kB / 0.5377 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008501/0.1274, allocations: 476.8 kB / 0.5382 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.1275, allocations: 0 / 0.5382 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.1275, allocations: 15.94 kB / 0.5382 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.1276, allocations: 28.98 kB / 0.5382 GB, free: 5.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007333/0.1284, allocations: 343.7 kB / 0.5386 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.1308, allocations: 1.629 MB / 0.5402 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.1312, allocations: 169 kB / 0.5403 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.1314, allocations: 109.7 kB / 0.5404 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1314, allocations: 0 / 0.5404 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.346e-05/0.1315, allocations: 42.5 kB / 0.5405 GB, free: 3.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.1315, allocations: 0 / 0.5405 GB, free: 3.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001513/0.133, allocations: 0.7947 MB / 0.5412 GB, free: 2.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.133, allocations: 77.11 kB / 0.5413 GB, free: 2.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.1334, allocations: 312.5 kB / 0.5416 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.1334, allocations: 25.7 kB / 0.5416 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.1337, allocations: 256 kB / 0.5419 GB, free: 2.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.1338, allocations: 83.36 kB / 0.542 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.1339, allocations: 57.7 kB / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1341, allocations: 346.8 kB / 0.5423 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.1343, allocations: 99.8 kB / 0.5424 GB, free: 1.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.1345, allocations: 198.5 kB / 0.5426 GB, free: 1.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.135, allocations: 331.5 kB / 0.5429 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.135, allocations: 0 / 0.5429 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008243/0.1358, allocations: 425.7 kB / 0.5434 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1358, allocations: 11.94 kB / 0.5434 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005277/0.1364, allocations: 268.1 kB / 0.5436 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/0.1367, allocations: 76.78 kB / 0.5437 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.137, allocations: 63.91 kB / 0.5438 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.1391, allocations: 1.719 MB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.1394, allocations: 8 kB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.1394, allocations: 19.98 kB / 0.5455 GB, free: 14.1 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 (34): * Single equations (assignments): 33 * 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.0003399/0.1397, allocations: 200.5 kB / 0.5457 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.1398, allocations: 35.75 kB / 0.5457 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/0.1404, allocations: 260.7 kB / 0.5459 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1404, allocations: 4 kB / 0.5459 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1404, allocations: 0 / 0.5459 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1404, allocations: 3.984 kB / 0.5459 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.1418, allocations: 0.7537 MB / 0.5467 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1418, allocations: 0 / 0.5467 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.1421, allocations: 51.91 kB / 0.5467 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1421, allocations: 0 / 0.5467 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.1421, allocations: 15.94 kB / 0.5467 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.1421, allocations: 4 kB / 0.5467 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1421, allocations: 0 / 0.5467 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.1428, allocations: 457.6 kB / 0.5472 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.1429, allocations: 108.8 kB / 0.5473 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.143, allocations: 12.03 kB / 0.5473 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.1431, allocations: 8.234 kB / 0.5473 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.1432, allocations: 11.98 kB / 0.5473 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.1432, allocations: 15.98 kB / 0.5473 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002498/0.1434, allocations: 211.1 kB / 0.5475 GB, free: 11.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1434, allocations: 4 kB / 0.5475 GB, free: 11.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004369/0.1439, allocations: 84 kB / 0.5476 GB, free: 11.77 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 (23): * Single equations (assignments): 22 * 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.000909/0.1448, allocations: 0.9917 MB / 0.5486 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00069/0.1455, allocations: 359.4 kB / 0.5489 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1455, allocations: 4.188 kB / 0.5489 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.1457, allocations: 99.84 kB / 0.549 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.1462, allocations: 78 kB / 0.5491 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/0.1511, allocations: 3.541 MB / 0.5526 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.1517, allocations: 0.8461 MB / 0.5534 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002218/0.1519, allocations: 66.91 kB / 0.5534 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.1521, allocations: 143.3 kB / 0.5536 GB, free: 5.391 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1521, allocations: 0 / 0.5536 GB, free: 5.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.1878, allocations: 7.275 MB / 0.5607 GB, free: 14.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.46, allocations: 5.469 kB / 0.5607 GB, free: 14.27 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.316246846225113]