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.0009523/0.0009523, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.0009822/0.0009822, allocations: 168.6 kB / 24.82 MB, free: 9.262 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.9995/0.9995, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.3016/0.3016, allocations: 29.42 MB / 291.2 MB, free: 2.453 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.625e-06/2.625e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.346e-05, allocations: 6.312 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.01125/0.01127, allocations: 4.201 MB / 374.3 MB, free: 6.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.01338, allocations: 1.207 MB / 375.5 MB, free: 5.277 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.01362, allocations: 15.88 kB / 375.5 MB, free: 5.262 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007719/0.01439, allocations: 306.5 kB / 375.8 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.0149, allocations: 250.5 kB / 376.1 MB, free: 4.715 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.01532, allocations: 171.5 kB / 376.2 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005912/0.01591, allocations: 0.5644 MB / 376.8 MB, free: 3.98 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.01625, allocations: 229.5 kB / 377 MB, free: 3.758 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.01678, allocations: 391 kB / 377.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.01709, allocations: 239.3 kB / 377.7 MB, free: 3.141 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.01713, allocations: 28 kB / 377.7 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.01738, allocations: 127.7 kB / 377.8 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.01754, allocations: 207.5 kB / 378 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.01772, allocations: 147.7 kB / 378.2 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.01815, allocations: 378.7 kB / 378.5 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01815, allocations: 7.938 kB / 378.5 MB, free: 2.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01815, allocations: 4 kB / 378.5 MB, free: 2.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.01816, allocations: 0 / 378.5 MB, free: 2.258 MB / 346.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.001157/0.01932, allocations: 0.7232 MB / 379.3 MB, free: 1.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.01937, allocations: 15.98 kB / 379.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.01975, allocations: 116.6 kB / 379.4 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.0201, allocations: 337.7 kB / 379.7 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.02013, allocations: 25.38 kB / 379.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.853e-05/0.02021, allocations: 40.73 kB / 379.8 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.02055, allocations: 317.9 kB / 380.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.02057, allocations: 3.984 kB / 380.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.02059, allocations: 20 kB / 380.1 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/0.02066, allocations: 24.98 kB / 380.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.02081, allocations: 126.8 kB / 380.3 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.02201, allocations: 1.462 MB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.02217, allocations: 110.1 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.02223, allocations: 51.36 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.02225, allocations: 7.984 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.02228, allocations: 41.33 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.02228, allocations: 0 / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.00072/0.023, allocations: 436 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.02304, allocations: 81.05 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.02324, allocations: 338.1 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.02326, allocations: 25.7 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.0234, allocations: 310.6 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.02344, allocations: 67.45 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.02351, allocations: 67.56 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.02366, allocations: 0.5197 MB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.0237, allocations: 32.25 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.02382, allocations: 183.6 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.02401, allocations: 242.2 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.02401, allocations: 0 / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004318/0.02444, allocations: 320.7 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.02446, allocations: 10.5 kB / 384.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002366/0.02469, allocations: 158.9 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/0.02502, allocations: 111.7 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.02513, allocations: 59.92 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.02705, allocations: 2.3 MB / 387.1 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.867e-05/0.02714, allocations: 8 kB / 387.1 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.02717, allocations: 12 kB / 387.2 MB, free: 9.074 MB / 362.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 0.0001125/0.02729, allocations: 180.4 kB / 387.3 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.02733, allocations: 35.75 kB / 387.4 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.02752, allocations: 163.4 kB / 387.5 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.02752, allocations: 7.938 kB / 387.5 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.02753, allocations: 0 / 387.5 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.02753, allocations: 0 / 387.5 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005118/0.02804, allocations: 0.5124 MB / 388 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.02805, allocations: 4.062 kB / 388.1 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.02816, allocations: 39.92 kB / 388.1 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.538e-05/0.02822, allocations: 19.67 kB / 388.1 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.02823, allocations: 8.062 kB / 388.1 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.02823, allocations: 4 kB / 388.1 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.02823, allocations: 0 / 388.1 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.02848, allocations: 362.2 kB / 388.5 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.02851, allocations: 23.81 kB / 388.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.02853, allocations: 8 kB / 388.5 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.02859, allocations: 7.938 kB / 388.5 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.02862, allocations: 19.97 kB / 388.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.02862, allocations: 0 / 388.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.491e-05/0.02872, allocations: 214.9 kB / 388.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02872, allocations: 0 / 388.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002687/0.02899, allocations: 84 kB / 388.8 MB, free: 7.293 MB / 362.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 9.828e-05/0.02908, allocations: 111.2 kB / 388.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003485/0.02943, allocations: 344 kB / 389.3 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.02943, allocations: 0 / 389.3 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.5e-05/0.02952, allocations: 80.19 kB / 389.3 MB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.02981, allocations: 75.03 kB / 389.4 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.03095, allocations: 0.7621 MB / 390.2 MB, free: 5.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.246e-05/0.03104, allocations: 132.4 kB / 390.3 MB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.605e-05/0.03113, allocations: 42.94 kB / 390.4 MB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.03125, allocations: 122.2 kB / 390.5 MB, free: 5.555 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.03125, allocations: 3.938 kB / 390.5 MB, free: 5.551 MB / 362.7 MB Notification: Performance of Templates: time 0.006799/0.03805, allocations: 3.975 MB / 394.5 MB, free: 1.633 MB / 362.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.2254224601201713]