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.0009819/0.0009819, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009052/0.0009052, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9419/0.9419, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2361/0.2361, allocations: 29.41 MB / 290.1 MB, free: 2.465 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.357e-05, allocations: 10.78 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005075/0.005098, allocations: 4.575 MB / 434.8 MB, free: 8.988 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.007096, allocations: 1.289 MB / 436.1 MB, free: 7.695 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.007359, allocations: 15.88 kB / 436.1 MB, free: 7.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009518/0.008311, allocations: 398.2 kB / 436.5 MB, free: 7.289 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.008868, allocations: 242.5 kB / 436.7 MB, free: 7.051 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.00939, allocations: 195.3 kB / 436.9 MB, free: 6.859 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005234/0.009913, allocations: 0.5566 MB / 437.5 MB, free: 6.301 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003936/0.01031, allocations: 258.2 kB / 437.7 MB, free: 6.043 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005552/0.01086, allocations: 358.8 kB / 438.1 MB, free: 5.691 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.01124, allocations: 255.2 kB / 438.3 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.01127, allocations: 32 kB / 438.4 MB, free: 5.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.01159, allocations: 131.8 kB / 438.5 MB, free: 5.281 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.01179, allocations: 199.4 kB / 438.7 MB, free: 5.086 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.01197, allocations: 155.6 kB / 438.8 MB, free: 4.934 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006468/0.01262, allocations: 0.5295 MB / 439.4 MB, free: 4.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.01262, allocations: 3.984 kB / 439.4 MB, free: 4.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01262, allocations: 0 / 439.4 MB, free: 4.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.01263, allocations: 0 / 439.4 MB, free: 4.398 MB / 410.7 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.0009251/0.01356, allocations: 0.6427 MB / 440 MB, free: 3.723 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.01361, allocations: 15.98 kB / 440 MB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.51e-05/0.01367, allocations: 74.72 kB / 440.1 MB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/0.01411, allocations: 96.53 kB / 440.2 MB, free: 3.531 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.01464, allocations: 351.9 kB / 440.5 MB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.01466, allocations: 29.38 kB / 440.6 MB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.01476, allocations: 48.67 kB / 440.6 MB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.01529, allocations: 480.7 kB / 441.1 MB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.0153, allocations: 4 kB / 441.1 MB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.01533, allocations: 11.94 kB / 441.1 MB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.698e-05/0.0154, allocations: 28.98 kB / 441.1 MB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.01578, allocations: 339.7 kB / 441.5 MB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.01728, allocations: 1.483 MB / 442.9 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.01755, allocations: 164.1 kB / 443.1 MB, free: 484 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.01766, allocations: 109.7 kB / 443.2 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.01767, allocations: 0 / 443.2 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.01769, allocations: 38.56 kB / 443.2 MB, free: 320 kB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.01769, allocations: 0 / 443.2 MB, free: 320 kB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.214/0.2317, allocations: 0.7131 MB / 444 MB, free: 54.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.2317, allocations: 84.17 kB / 444 MB, free: 54.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.232, allocations: 313.4 kB / 444.3 MB, free: 54.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.232, allocations: 32.67 kB / 444.4 MB, free: 54.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.2322, allocations: 254.1 kB / 444.6 MB, free: 54.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.2322, allocations: 77.62 kB / 444.7 MB, free: 54.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.2323, allocations: 61.31 kB / 444.8 MB, free: 54.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.2324, allocations: 338.9 kB / 445.1 MB, free: 53.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.2325, allocations: 94.98 kB / 445.2 MB, free: 53.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.2327, allocations: 198.5 kB / 445.4 MB, free: 53.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.233, allocations: 333.7 kB / 445.7 MB, free: 53.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.233, allocations: 3.562 kB / 445.7 MB, free: 53.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007376/0.2338, allocations: 429.1 kB / 446.1 MB, free: 53.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.2338, allocations: 5.75 kB / 446.1 MB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003549/0.2342, allocations: 261 kB / 446.4 MB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/0.2344, allocations: 80.22 kB / 446.5 MB, free: 53.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.2346, allocations: 68.64 kB / 446.5 MB, free: 53.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.2358, allocations: 1.599 MB / 448.1 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.236, allocations: 21.75 kB / 448.1 MB, free: 51.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.236, allocations: 9.594 kB / 448.2 MB, free: 51.74 MB / 410.7 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.0002319/0.2362, allocations: 189.6 kB / 448.3 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.2363, allocations: 28.34 kB / 448.4 MB, free: 51.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.2366, allocations: 274 kB / 448.6 MB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2366, allocations: 3.156 kB / 448.6 MB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2366, allocations: 3.062 kB / 448.6 MB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2366, allocations: 0 / 448.6 MB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007997/0.2374, allocations: 0.7002 MB / 449.3 MB, free: 51.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.2374, allocations: 3 kB / 449.3 MB, free: 51.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.2376, allocations: 53.38 kB / 449.4 MB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2376, allocations: 7.094 kB / 449.4 MB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.2376, allocations: 9.625 kB / 449.4 MB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.2376, allocations: 3.938 kB / 449.4 MB, free: 51.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2376, allocations: 3.375 kB / 449.4 MB, free: 51.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.238, allocations: 452.1 kB / 449.9 MB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.2381, allocations: 29.23 kB / 449.9 MB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.2381, allocations: 15.58 kB / 449.9 MB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.2382, allocations: 10.58 kB / 449.9 MB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.2382, allocations: 12.84 kB / 449.9 MB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.2382, allocations: 7.094 kB / 449.9 MB, free: 50.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.2384, allocations: 223.8 kB / 450.2 MB, free: 50.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2384, allocations: 0 / 450.2 MB, free: 50.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.2387, allocations: 84.53 kB / 450.2 MB, free: 50.59 MB / 410.7 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.0005554/0.2393, allocations: 0.9862 MB / 451.2 MB, free: 49.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005061/0.2398, allocations: 361.2 kB / 451.6 MB, free: 49.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2398, allocations: 4 kB / 451.6 MB, free: 49.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.732e-05/0.2399, allocations: 101.5 kB / 451.7 MB, free: 49.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.2402, allocations: 72.02 kB / 451.8 MB, free: 49.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.2431, allocations: 3.466 MB / 455.2 MB, free: 47.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.2433, allocations: 245.8 kB / 455.5 MB, free: 47.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.2434, allocations: 70.06 kB / 455.5 MB, free: 47.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.2436, allocations: 137.8 kB / 455.7 MB, free: 47.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.744e-06/0.2436, allocations: 4 kB / 455.7 MB, free: 47.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.2726, allocations: 8.104 MB / 463.8 MB, free: 45.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/7.144, allocations: 3.984 kB / 463.8 MB, free: 45.67 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins/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: 9.162450195290148]