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.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.00133/0.00133, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001438/0.001438, allocations: 211.2 kB / 23.74 MB, free: 4.66 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.1915/0.1915, allocations: 38.53 MB / 352.5 MB, free: 12.58 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.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: 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.003114/0.003114, allocations: 63.89 kB / 492.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3527, allocations: 62.47 MB / 0.542 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006675/0.3594, allocations: 4.874 MB / 0.5468 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.3619, allocations: 1.38 MB / 0.5481 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.3621, allocations: 24.75 kB / 0.5481 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.3633, allocations: 418.1 kB / 0.5485 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006026/0.3639, allocations: 240.5 kB / 0.5488 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.3645, allocations: 186 kB / 0.5489 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007691/0.3652, allocations: 0.5475 MB / 0.5495 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004873/0.3657, allocations: 268.9 kB / 0.5497 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005018/0.3662, allocations: 264 kB / 0.55 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004926/0.3667, allocations: 289 kB / 0.5503 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.86e-05/0.3668, allocations: 32 kB / 0.5503 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.3672, allocations: 145.4 kB / 0.5504 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.3674, allocations: 194.5 kB / 0.5506 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.3677, allocations: 227.9 kB / 0.5508 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006958/0.3684, allocations: 0.5298 MB / 0.5513 GB, free: 9.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3684, allocations: 0 / 0.5513 GB, free: 9.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3684, allocations: 0 / 0.5513 GB, free: 9.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.3684, allocations: 0 / 0.5513 GB, free: 9.371 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.001193/0.3696, allocations: 0.6515 MB / 0.552 GB, free: 8.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3696, allocations: 13.7 kB / 0.552 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.044e-05/0.3697, allocations: 77 kB / 0.5521 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006432/0.3703, allocations: 88.88 kB / 0.5522 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007012/0.371, allocations: 360.9 kB / 0.5525 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.3711, allocations: 27.16 kB / 0.5525 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.3712, allocations: 47.73 kB / 0.5526 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007544/0.372, allocations: 481.3 kB / 0.553 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.372, allocations: 1.094 kB / 0.553 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.372, allocations: 20.5 kB / 0.553 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.3721, allocations: 28.8 kB / 0.5531 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008059/0.3729, allocations: 341 kB / 0.5534 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003388/0.3763, allocations: 1.558 MB / 0.5549 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.3768, allocations: 165.3 kB / 0.5551 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.377, allocations: 105.2 kB / 0.5552 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3771, allocations: 2.281 kB / 0.5552 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.3771, allocations: 37.09 kB / 0.5552 GB, free: 6.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.3771, allocations: 4 kB / 0.5552 GB, free: 6.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.00192/0.379, allocations: 0.7241 MB / 0.5559 GB, free: 5.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.3791, allocations: 80.08 kB / 0.556 GB, free: 5.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005322/0.3796, allocations: 311.5 kB / 0.5563 GB, free: 5.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.3797, allocations: 33.64 kB / 0.5563 GB, free: 5.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.3799, allocations: 252.1 kB / 0.5566 GB, free: 5.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.38, allocations: 83.44 kB / 0.5567 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.3802, allocations: 61.66 kB / 0.5567 GB, free: 5.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.3804, allocations: 346.8 kB / 0.557 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.3807, allocations: 91.94 kB / 0.5571 GB, free: 4.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.381, allocations: 200.8 kB / 0.5573 GB, free: 4.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.3817, allocations: 332.4 kB / 0.5576 GB, free: 4.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3817, allocations: 4 kB / 0.5576 GB, free: 4.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001166/0.3828, allocations: 424.4 kB / 0.558 GB, free: 3.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.3829, allocations: 4 kB / 0.5581 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007457/0.3836, allocations: 264.2 kB / 0.5583 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004626/0.3841, allocations: 76.78 kB / 0.5584 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.3844, allocations: 63.91 kB / 0.5584 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.3868, allocations: 1.608 MB / 0.56 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.3871, allocations: 16.06 kB / 0.56 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.3871, allocations: 16 kB / 0.56 GB, free: 1.539 MB / 398.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.0003241/0.3875, allocations: 189.7 kB / 0.5602 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.3876, allocations: 35.8 kB / 0.5603 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006481/0.3882, allocations: 260.6 kB / 0.5605 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3882, allocations: 4 kB / 0.5605 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.3882, allocations: 0 / 0.5605 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.3882, allocations: 12.12 kB / 0.5605 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.39, allocations: 0.7176 MB / 0.5612 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.3901, allocations: 7.984 kB / 0.5612 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.3905, allocations: 55.91 kB / 0.5613 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.3905, allocations: 7.938 kB / 0.5613 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.3905, allocations: 7.938 kB / 0.5613 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3905, allocations: 8.062 kB / 0.5613 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.3905, allocations: 0 / 0.5613 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/0.3914, allocations: 460.7 kB / 0.5617 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.3915, allocations: 27.75 kB / 0.5618 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.3916, allocations: 8 kB / 0.5618 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.3918, allocations: 12.03 kB / 0.5618 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.3919, allocations: 19.91 kB / 0.5618 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.3919, allocations: 8 kB / 0.5618 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003424/0.3923, allocations: 219.1 kB / 0.562 GB, free: 15.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3923, allocations: 0 / 0.562 GB, free: 15.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006585/0.3929, allocations: 80 kB / 0.5621 GB, free: 15.33 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.001242/0.3942, allocations: 0.9982 MB / 0.5631 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009775/0.3951, allocations: 366.5 kB / 0.5634 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3951, allocations: 4 kB / 0.5634 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.3954, allocations: 91.91 kB / 0.5635 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/0.3961, allocations: 66.19 kB / 0.5636 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006474/0.4026, allocations: 3.55 MB / 0.567 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.4031, allocations: 0.8498 MB / 0.5679 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.4033, allocations: 78.83 kB / 0.568 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.4035, allocations: 139.4 kB / 0.5681 GB, free: 8.949 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4035, allocations: 0 / 0.5681 GB, free: 8.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04846/0.452, allocations: 7.509 MB / 0.5754 GB, free: 1.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.92, allocations: 15.97 kB / 0.5754 GB, free: 1.559 MB / 414.1 MB " [Timeout remaining time 648] (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/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.738466128939763]