Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001468/0.001468, allocations: 80.34 kB / 20.95 MB, free: 3.453 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.001687/0.001687, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 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 1.491/1.491, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3433/0.3433, allocations: 29.42 MB / 290.5 MB, free: 2.445 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: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.214e-05/4.488e-05, allocations: 6.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.01636/0.01641, allocations: 6.962 MB / 375.9 MB, free: 4.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.02666, allocations: 4.077 MB / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005673/0.02723, allocations: 23.88 kB / 380 MB, free: 200 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004611/0.03184, allocations: 1.015 MB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004952/0.03679, allocations: 1.236 MB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.03819, allocations: 326.7 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002876/0.04107, allocations: 1.433 MB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.04237, allocations: 0.5089 MB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.04434, allocations: 0.8137 MB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.04603, allocations: 0.6816 MB / 386 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.0462, allocations: 64 kB / 386 MB, free: 10.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003881/0.05009, allocations: 1.149 MB / 387.2 MB, free: 8.949 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009424/0.05103, allocations: 0.5105 MB / 387.7 MB, free: 8.438 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007079/0.05174, allocations: 311.3 kB / 388 MB, free: 8.133 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003726/0.05546, allocations: 1.542 MB / 389.5 MB, free: 6.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.05547, allocations: 0 / 389.5 MB, free: 6.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.05547, allocations: 0 / 389.5 MB, free: 6.586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.05548, allocations: 0 / 389.5 MB, free: 6.586 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002981/0.05847, allocations: 1.062 MB / 390.6 MB, free: 5.488 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.05852, allocations: 11.98 kB / 390.6 MB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006229/0.06475, allocations: 0.562 MB / 391.2 MB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.0662, allocations: 432.9 kB / 391.6 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.06631, allocations: 58.36 kB / 391.6 MB, free: 4.406 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.06656, allocations: 72.36 kB / 391.7 MB, free: 4.336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/0.06988, allocations: 1.176 MB / 392.9 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/0.06993, allocations: 8.172 kB / 392.9 MB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.07008, allocations: 24.38 kB / 392.9 MB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001684/0.07024, allocations: 69.91 kB / 393 MB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/0.07367, allocations: 1.233 MB / 394.2 MB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009603/0.08327, allocations: 3.128 MB / 397.4 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.08629, allocations: 0.9795 MB / 398.3 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.08798, allocations: 0.5946 MB / 398.9 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.281e-05/0.08807, allocations: 20.94 kB / 398.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.8e-05/0.08814, allocations: 43.56 kB / 399 MB, free: 12.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 5.4e-06/0.08814, allocations: 0 / 399 MB, free: 12.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.01272/0.1009, allocations: 3.033 MB / 402 MB, free: 9.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.101, allocations: 98.05 kB / 402.1 MB, free: 9.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007877/0.1018, allocations: 353.7 kB / 402.5 MB, free: 9.418 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.1019, allocations: 45.7 kB / 402.5 MB, free: 9.367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/0.1023, allocations: 316.9 kB / 402.8 MB, free: 9.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005554/0.1029, allocations: 329.1 kB / 403.1 MB, free: 8.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004816/0.1034, allocations: 154.6 kB / 403.3 MB, free: 8.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003334/0.1037, allocations: 366.8 kB / 403.7 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.105, allocations: 465.7 kB / 404.1 MB, free: 7.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.1066, allocations: 0.5696 MB / 404.7 MB, free: 7.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/0.1096, allocations: 1.117 MB / 405.8 MB, free: 6.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.1096, allocations: 4 kB / 405.8 MB, free: 6 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004877/0.1145, allocations: 1.497 MB / 407.3 MB, free: 4.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.1145, allocations: 8 kB / 407.3 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.1145, allocations: 192 / 407.3 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/0.1162, allocations: 357.5 kB / 407.6 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.1174, allocations: 179.7 kB / 407.8 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008101/0.1255, allocations: 3.902 MB / 411.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005909/0.1261, allocations: 52.02 kB / 411.8 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.1262, allocations: 35.98 kB / 411.8 MB, free: 15.87 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005715/0.1268, allocations: 293.5 kB / 412.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.127, allocations: 87.62 kB / 412.2 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003208/0.1302, allocations: 1.551 MB / 413.7 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.1302, allocations: 16 kB / 413.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.1302, allocations: 7.938 kB / 413.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.1302, allocations: 7.969 kB / 413.8 MB, free: 13.89 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005868/0.1361, allocations: 2.669 MB / 416.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.1361, allocations: 7.938 kB / 416.4 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.1368, allocations: 163.8 kB / 416.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009963/0.1378, allocations: 297 kB / 416.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.203e-05/0.1379, allocations: 27.92 kB / 416.9 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006054/0.144, allocations: 3.696 MB / 420.6 MB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.144, allocations: 7.938 kB / 420.6 MB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00309/0.1471, allocations: 1.618 MB / 422.2 MB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.1473, allocations: 67.56 kB / 422.3 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-05/0.1474, allocations: 20 kB / 422.3 MB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/0.1478, allocations: 47.95 kB / 422.4 MB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.148, allocations: 84.72 kB / 422.5 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.064e-05/0.1481, allocations: 39.98 kB / 422.5 MB, free: 4.906 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003365/0.1485, allocations: 247.2 kB / 422.7 MB, free: 4.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1485, allocations: 0 / 422.7 MB, free: 4.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001175/0.1496, allocations: 308 kB / 423 MB, free: 4.367 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002051/0.1498, allocations: 123.1 kB / 423.2 MB, free: 4.234 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002546/0.1524, allocations: 1.35 MB / 424.5 MB, free: 2.875 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1524, allocations: 0 / 424.5 MB, free: 2.875 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.1539, allocations: 0.785 MB / 425.3 MB, free: 2.082 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007406/0.1546, allocations: 124 kB / 425.4 MB, free: 1.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.1582, allocations: 1.813 MB / 427.2 MB, free: 76 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007564/0.1589, allocations: 480.8 kB / 427.7 MB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005028/0.1594, allocations: 176.6 kB / 427.9 MB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.1597, allocations: 60.47 kB / 427.9 MB, free: 15.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1597, allocations: 3.938 kB / 427.9 MB, free: 15.34 MB / 410.7 MB Notification: Performance of Templates: time 0.02154/0.1812, allocations: 10.37 MB / 438.3 MB, free: 5.035 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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: 5.400240741902962]