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.001104/0.001104, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001672/0.001672, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.9612/0.9612, allocations: 177.1 MB / 205 MB, free: 5.285 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.2785/0.2785, allocations: 29.42 MB / 290.9 MB, free: 2.461 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.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",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.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.498e-05, allocations: 8.703 kB / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005303/0.005318, allocations: 6.748 MB / 376.4 MB, free: 4.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.008528, allocations: 3.209 MB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.008791, allocations: 15.94 kB / 379.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.00985, allocations: 0.7081 MB / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.01155, allocations: 1.221 MB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.01208, allocations: 318.9 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.01317, allocations: 1.402 MB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005718/0.01374, allocations: 0.5089 MB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007766/0.01451, allocations: 0.8022 MB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006373/0.01515, allocations: 0.6895 MB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.92e-05/0.01522, allocations: 64 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.01642, allocations: 1.118 MB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.01674, allocations: 0.5183 MB / 387 MB, free: 9.605 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.01697, allocations: 315.3 kB / 387.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.01823, allocations: 1.277 MB / 388.6 MB, free: 8.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.01823, allocations: 4 kB / 388.6 MB, free: 8.012 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01823, allocations: 0 / 388.6 MB, free: 8.012 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.01824, allocations: 0 / 388.6 MB, free: 8.012 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.001114/0.01935, allocations: 1.189 MB / 389.8 MB, free: 6.781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.01939, allocations: 11.98 kB / 389.8 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.02105, allocations: 0.5425 MB / 390.3 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.02151, allocations: 423.8 kB / 390.7 MB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.02154, allocations: 58.34 kB / 390.8 MB, free: 5.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.697e-05/0.02162, allocations: 72.36 kB / 390.8 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007849/0.0224, allocations: 0.6969 MB / 391.5 MB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.72e-05/0.02245, allocations: 192 / 391.5 MB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.0225, allocations: 32.36 kB / 391.6 MB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.604e-05/0.02256, allocations: 73.89 kB / 391.6 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006595/0.02322, allocations: 495.5 kB / 392.1 MB, free: 4.344 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.02588, allocations: 2.696 MB / 394.8 MB, free: 1.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/0.02662, allocations: 0.5939 MB / 395.4 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.02694, allocations: 282.3 kB / 395.7 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.02698, allocations: 24.98 kB / 395.7 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.027, allocations: 50.61 kB / 395.8 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 1.943e-06/0.02701, allocations: 0 / 395.8 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of matching and sorting (n=92): time 0.00298/0.02999, allocations: 1.872 MB / 397.6 MB, free: 14.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.03003, allocations: 94.05 kB / 397.7 MB, free: 14.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.03029, allocations: 386.6 kB / 398.1 MB, free: 14.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.03033, allocations: 37.7 kB / 398.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.0305, allocations: 367.7 kB / 398.5 MB, free: 13.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.03068, allocations: 333.1 kB / 398.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.03084, allocations: 164.3 kB / 399 MB, free: 13.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.03098, allocations: 0.5509 MB / 399.5 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.03122, allocations: 173.9 kB / 399.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.03154, allocations: 323.7 kB / 400 MB, free: 12.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.03214, allocations: 0.5514 MB / 400.6 MB, free: 11.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.03214, allocations: 0 / 400.6 MB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0011/0.03324, allocations: 0.8672 MB / 401.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.03326, allocations: 8 kB / 401.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.03327, allocations: 4 kB / 401.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/0.03382, allocations: 256.5 kB / 401.7 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.03418, allocations: 175.7 kB / 401.9 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.0366, allocations: 3.224 MB / 405.1 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.03681, allocations: 39.95 kB / 405.1 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.03686, allocations: 39.98 kB / 405.2 MB, free: 6.859 MB / 378.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.000149/0.03701, allocations: 208.4 kB / 405.4 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.741e-05/0.03709, allocations: 87.67 kB / 405.5 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.03816, allocations: 0.9058 MB / 406.4 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.03817, allocations: 12 kB / 406.4 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.03817, allocations: 7.938 kB / 406.4 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.03818, allocations: 3.984 kB / 406.4 MB, free: 5.621 MB / 378.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.00209/0.04027, allocations: 1.898 MB / 408.3 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.04027, allocations: 4 kB / 408.3 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.04058, allocations: 167.7 kB / 408.5 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004007/0.04098, allocations: 211.5 kB / 408.7 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.04102, allocations: 31.92 kB / 408.7 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.04328, allocations: 3.121 MB / 411.8 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.04328, allocations: 4 kB / 411.8 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.0444, allocations: 1.135 MB / 413 MB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.04446, allocations: 63.61 kB / 413 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.04451, allocations: 20 kB / 413 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.04472, allocations: 43.95 kB / 413.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.04482, allocations: 92.64 kB / 413.2 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.04486, allocations: 39.98 kB / 413.2 MB, free: 14.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.045, allocations: 251.1 kB / 413.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.045, allocations: 0 / 413.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005322/0.04554, allocations: 307.9 kB / 413.8 MB, free: 13.94 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.0001191/0.04565, allocations: 127.1 kB / 413.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009582/0.04661, allocations: 0.897 MB / 414.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.04662, allocations: 0 / 414.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.04717, allocations: 0.6374 MB / 415.4 MB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.04755, allocations: 94.59 kB / 415.5 MB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.04929, allocations: 1.455 MB / 417 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.04948, allocations: 267.9 kB / 417.2 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.04969, allocations: 148.6 kB / 417.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.04982, allocations: 60.47 kB / 417.4 MB, free: 10.11 MB / 394.7 MB Notification: Performance of SimCode: time 9.51e-07/0.04982, allocations: 0 / 417.4 MB, free: 10.11 MB / 394.7 MB Notification: Performance of Templates: time 0.0113/0.06112, allocations: 10.75 MB / 428.2 MB, free: 15.43 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 240] 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","",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.1763204438611865]