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.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.001261/0.001261, allocations: 84.08 kB / 20.68 MB, free: 1.027 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.001382/0.001382, allocations: 171.2 kB / 23.96 MB, free: 4.148 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.392/1.392, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 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.1771/0.1771, allocations: 29.45 MB / 290.1 MB, free: 3.27 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: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.584e-05, allocations: 6.219 kB / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006708/0.006734, allocations: 4.456 MB / 435.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.009041, allocations: 1.254 MB / 436.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.00925, allocations: 19.81 kB / 436.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.01044, allocations: 390.3 kB / 436.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00062/0.01106, allocations: 266.4 kB / 437.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.01157, allocations: 171.4 kB / 437.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006449/0.01221, allocations: 0.5723 MB / 437.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.01261, allocations: 225.5 kB / 438.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005298/0.01314, allocations: 358.8 kB / 438.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004633/0.01361, allocations: 263.3 kB / 438.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.01366, allocations: 28 kB / 438.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.01396, allocations: 123.8 kB / 438.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.01419, allocations: 215.4 kB / 439 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.01439, allocations: 143.7 kB / 439.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006673/0.01505, allocations: 0.514 MB / 439.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.01506, allocations: 0 / 439.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01506, allocations: 7.938 kB / 439.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.01507, allocations: 0 / 439.7 MB, free: 8.926 MB / 366.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.001153/0.01622, allocations: 0.6349 MB / 440.3 MB, free: 8.258 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.01626, allocations: 15.92 kB / 440.3 MB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005985/0.01686, allocations: 92.59 kB / 440.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.01756, allocations: 344 kB / 440.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.01759, allocations: 25.38 kB / 440.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.01773, allocations: 40.73 kB / 440.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007529/0.01848, allocations: 488.9 kB / 441.3 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.0185, allocations: 4 kB / 441.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.01853, allocations: 8 kB / 441.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.01865, allocations: 32.98 kB / 441.3 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005863/0.01923, allocations: 347.7 kB / 441.7 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.02136, allocations: 1.421 MB / 443.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.02167, allocations: 137.1 kB / 443.2 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.02184, allocations: 105.7 kB / 443.3 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.02186, allocations: 4 kB / 443.3 MB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.02189, allocations: 34.56 kB / 443.4 MB, free: 5.043 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.02189, allocations: 0 / 443.4 MB, free: 5.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00156/0.02345, allocations: 0.7496 MB / 444.1 MB, free: 4.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.02351, allocations: 77.11 kB / 444.2 MB, free: 4.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.02384, allocations: 296.4 kB / 444.5 MB, free: 3.863 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.02386, allocations: 29.7 kB / 444.5 MB, free: 3.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.02405, allocations: 256 kB / 444.8 MB, free: 3.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.02412, allocations: 71.41 kB / 444.8 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.02422, allocations: 61.92 kB / 444.9 MB, free: 3.434 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.02439, allocations: 338.8 kB / 445.2 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.02455, allocations: 100.3 kB / 445.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.02479, allocations: 209.2 kB / 445.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.02525, allocations: 324.6 kB / 445.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.02525, allocations: 3.938 kB / 445.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009298/0.02618, allocations: 476.1 kB / 446.3 MB, free: 1.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.0262, allocations: 4 kB / 446.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006382/0.02684, allocations: 304.7 kB / 446.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.02737, allocations: 140.7 kB / 446.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.02757, allocations: 60.08 kB / 446.8 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1735/0.2011, allocations: 2.284 MB / 449.1 MB, free: 28.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.2013, allocations: 19.05 kB / 449.1 MB, free: 28.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.2014, allocations: 16.03 kB / 449.1 MB, free: 28.79 MB / 366.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.0002227/0.2016, allocations: 194.7 kB / 449.3 MB, free: 28.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.2017, allocations: 32.12 kB / 449.4 MB, free: 28.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/0.2021, allocations: 264.9 kB / 449.6 MB, free: 28.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2021, allocations: 2.375 kB / 449.6 MB, free: 28.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2021, allocations: 1.125 kB / 449.6 MB, free: 28.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2021, allocations: 0.7969 kB / 449.6 MB, free: 28.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.2032, allocations: 0.6285 MB / 450.2 MB, free: 28.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.2032, allocations: 1.156 kB / 450.2 MB, free: 28.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.2034, allocations: 35.78 kB / 450.3 MB, free: 28.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.2035, allocations: 40.98 kB / 450.3 MB, free: 28.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.2035, allocations: 8.219 kB / 450.3 MB, free: 28.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2035, allocations: 5.656 kB / 450.3 MB, free: 28.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2035, allocations: 4.656 kB / 450.3 MB, free: 28.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.204, allocations: 443.5 kB / 450.8 MB, free: 28.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.204, allocations: 26.44 kB / 450.8 MB, free: 28.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.2041, allocations: 8.141 kB / 450.8 MB, free: 28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.2042, allocations: 7.016 kB / 450.8 MB, free: 28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.2043, allocations: 12.17 kB / 450.8 MB, free: 28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.2043, allocations: 8.156 kB / 450.8 MB, free: 28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001932/0.2045, allocations: 204 kB / 451 MB, free: 27.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2045, allocations: 3.781 kB / 451 MB, free: 27.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004598/0.2049, allocations: 86.25 kB / 451.1 MB, free: 27.88 MB / 366.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.0001052/0.205, allocations: 102.3 kB / 451.2 MB, free: 27.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006608/0.2057, allocations: 398.9 kB / 451.6 MB, free: 27.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.2057, allocations: 3.875 kB / 451.6 MB, free: 27.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.2059, allocations: 107 kB / 451.7 MB, free: 27.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.2064, allocations: 64.73 kB / 451.8 MB, free: 27.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.2076, allocations: 0.7867 MB / 452.6 MB, free: 27.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.2078, allocations: 236.6 kB / 452.8 MB, free: 27.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.208, allocations: 61.48 kB / 452.9 MB, free: 27.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.2081, allocations: 31.73 kB / 452.9 MB, free: 27.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2081, allocations: 0 / 452.9 MB, free: 27.02 MB / 366.1 MB Notification: Performance of Templates: time 0.008104/0.2162, allocations: 3.6 MB / 456.5 MB, free: 26.64 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.599269952625036]