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.00113/0.00113, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001093/0.001093, allocations: 162.2 kB / 25.6 MB, free: 8.59 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.9697/0.9697, allocations: 177.1 MB / 206 MB, free: 4.512 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.1156/0.1156, allocations: 29.43 MB / 292 MB, free: 2.621 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 3.984 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.697e-05, allocations: 7.891 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004568/0.004585, allocations: 4.201 MB / 375.1 MB, free: 28.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.00621, allocations: 1.215 MB / 376.3 MB, free: 26.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.00638, allocations: 15.88 kB / 376.3 MB, free: 26.85 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006504/0.00703, allocations: 290.6 kB / 376.6 MB, free: 26.56 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.007455, allocations: 266.5 kB / 376.9 MB, free: 26.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.007799, allocations: 163.6 kB / 377 MB, free: 26.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004719/0.008271, allocations: 0.5683 MB / 377.6 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.008562, allocations: 233.4 kB / 377.8 MB, free: 25.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004703/0.009032, allocations: 391 kB / 378.2 MB, free: 24.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.009326, allocations: 247.2 kB / 378.4 MB, free: 24.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.009364, allocations: 28 kB / 378.5 MB, free: 24.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.009562, allocations: 119.8 kB / 378.6 MB, free: 24.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.009699, allocations: 207.4 kB / 378.8 MB, free: 24.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.009825, allocations: 151.7 kB / 378.9 MB, free: 24.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.01019, allocations: 378.7 kB / 379.3 MB, free: 23.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.01019, allocations: 0 / 379.3 MB, free: 23.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.01019, allocations: 3.938 kB / 379.3 MB, free: 23.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.0102, allocations: 0 / 379.3 MB, free: 23.84 MB / 314.7 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.0006725/0.01087, allocations: 0.7387 MB / 380 MB, free: 23.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.0109, allocations: 8.031 kB / 380.1 MB, free: 23.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000443/0.01134, allocations: 120.6 kB / 380.2 MB, free: 22.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.01169, allocations: 329.8 kB / 380.5 MB, free: 22.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.01172, allocations: 25.38 kB / 380.5 MB, free: 22.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.01181, allocations: 40.73 kB / 380.6 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.01215, allocations: 313.9 kB / 380.9 MB, free: 22.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.01217, allocations: 8 kB / 380.9 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.0122, allocations: 15.98 kB / 380.9 MB, free: 22.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-05/0.01227, allocations: 24.98 kB / 380.9 MB, free: 22.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.01246, allocations: 126.8 kB / 381 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.01361, allocations: 1.477 MB / 382.5 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.01375, allocations: 102.1 kB / 382.6 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.01381, allocations: 59.34 kB / 382.7 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.01382, allocations: 4 kB / 382.7 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.01384, allocations: 33.39 kB / 382.7 MB, free: 20.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.01384, allocations: 0 / 382.7 MB, free: 20.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005633/0.0144, allocations: 444.5 kB / 383.1 MB, free: 19.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.01442, allocations: 81.11 kB / 383.2 MB, free: 19.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.01454, allocations: 326.1 kB / 383.5 MB, free: 19.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.01455, allocations: 29.7 kB / 383.6 MB, free: 19.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.01462, allocations: 306.7 kB / 383.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.01465, allocations: 71.41 kB / 383.9 MB, free: 18.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.0147, allocations: 71.56 kB / 384 MB, free: 18.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.01475, allocations: 0.5117 MB / 384.5 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.429e-05/0.01478, allocations: 36.19 kB / 384.6 MB, free: 18.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.649e-05/0.01486, allocations: 173.2 kB / 384.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.01499, allocations: 242.3 kB / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01499, allocations: 0 / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003554/0.01535, allocations: 320.8 kB / 385.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.01536, allocations: 8.062 kB / 385.3 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001962/0.01556, allocations: 155.7 kB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002874/0.01584, allocations: 123.5 kB / 385.6 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.01594, allocations: 47.92 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009939/0.01693, allocations: 2.301 MB / 387.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.01702, allocations: 8 kB / 387.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.01703, allocations: 12 kB / 387.9 MB, free: 14.66 MB / 314.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 (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 6.464e-05/0.01709, allocations: 176.5 kB / 388.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.01713, allocations: 35.75 kB / 388.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.01728, allocations: 174.6 kB / 388.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01728, allocations: 3.984 kB / 388.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01728, allocations: 3.938 kB / 388.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01729, allocations: 4 kB / 388.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.01767, allocations: 0.4998 MB / 388.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01768, allocations: 4 kB / 388.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.01778, allocations: 43.91 kB / 388.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.792e-05/0.01783, allocations: 23.73 kB / 388.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.01784, allocations: 4 kB / 388.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01784, allocations: 4 kB / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01784, allocations: 0 / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.01803, allocations: 366.6 kB / 389.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.01805, allocations: 23.84 kB / 389.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.01808, allocations: 11.95 kB / 389.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.597e-05/0.01814, allocations: 11.94 kB / 389.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.01816, allocations: 11.97 kB / 389.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.01817, allocations: 4 kB / 389.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.896e-05/0.01824, allocations: 214.9 kB / 389.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01824, allocations: 4 kB / 389.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.01849, allocations: 88 kB / 389.6 MB, free: 12.88 MB / 314.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 (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 7.747e-05/0.01857, allocations: 95.19 kB / 389.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.01886, allocations: 347.5 kB / 390 MB, free: 12.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01886, allocations: 0 / 390 MB, free: 12.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.696e-05/0.01893, allocations: 79.2 kB / 390.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.01918, allocations: 64.38 kB / 390.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.02012, allocations: 0.7821 MB / 391 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.76e-05/0.02018, allocations: 128.6 kB / 391.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.996e-05/0.02025, allocations: 34.95 kB / 391.1 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/0.02034, allocations: 126.2 kB / 391.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02034, allocations: 0 / 391.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of Templates: time 0.004808/0.02515, allocations: 4.073 MB / 395.3 MB, free: 7.145 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1103651779703796]