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.001045/0.001045, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00114/0.00114, allocations: 166.4 kB / 25 MB, free: 8.336 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2414/0.2414, allocations: 29.41 MB / 291.2 MB, free: 2.5 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.[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.623e-06/1.623e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.933e-05, allocations: 5.688 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005852/0.005881, allocations: 7.457 MB / 377.1 MB, free: 3.832 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005245/0.01113, allocations: 4.373 MB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005567/0.01168, allocations: 19.94 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.01319, allocations: 1.051 MB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.01561, allocations: 1.24 MB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006868/0.0163, allocations: 318.8 kB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.01766, allocations: 1.433 MB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007332/0.01839, allocations: 0.5128 MB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.01948, allocations: 0.8138 MB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008308/0.02031, allocations: 0.6894 MB / 387.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.74e-05/0.0204, allocations: 64 kB / 387.6 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.02203, allocations: 1.145 MB / 388.7 MB, free: 8.137 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000407/0.02243, allocations: 0.5183 MB / 389.2 MB, free: 7.617 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.02273, allocations: 307.3 kB / 389.5 MB, free: 7.316 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.02461, allocations: 1.285 MB / 390.8 MB, free: 6.027 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.02462, allocations: 0 / 390.8 MB, free: 6.027 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02462, allocations: 0 / 390.8 MB, free: 6.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.02463, allocations: 0 / 390.8 MB, free: 6.027 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.001482/0.02612, allocations: 1.182 MB / 392 MB, free: 4.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.02616, allocations: 15.98 kB / 392 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.02832, allocations: 0.5347 MB / 392.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/0.02893, allocations: 427.7 kB / 393 MB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.02897, allocations: 54.36 kB / 393 MB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.894e-05/0.02906, allocations: 72.38 kB / 393.1 MB, free: 3.688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009051/0.02996, allocations: 0.7047 MB / 393.8 MB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.02998, allocations: 192 / 393.8 MB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.03004, allocations: 32.36 kB / 393.8 MB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.83e-05/0.03012, allocations: 73.89 kB / 393.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007422/0.03086, allocations: 495.4 kB / 394.4 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002986/0.03384, allocations: 2.696 MB / 397.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008377/0.03468, allocations: 0.6086 MB / 397.7 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.03504, allocations: 285.1 kB / 398 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/0.03509, allocations: 24.98 kB / 398 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.03512, allocations: 42.39 kB / 398 MB, free: 14.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 2.695e-06/0.03513, allocations: 0 / 398 MB, free: 14.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.003353/0.03848, allocations: 1.868 MB / 399.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.03853, allocations: 98.17 kB / 400 MB, free: 12.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.03882, allocations: 378.7 kB / 400.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.03886, allocations: 41.7 kB / 400.4 MB, free: 12.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.03902, allocations: 371.6 kB / 400.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.03922, allocations: 341.1 kB / 401.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.03938, allocations: 160.3 kB / 401.3 MB, free: 11.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.03954, allocations: 0.5469 MB / 401.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.03981, allocations: 173.9 kB / 402 MB, free: 10.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.04013, allocations: 327.7 kB / 402.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.04119, allocations: 0.5475 MB / 402.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.0412, allocations: 0 / 402.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001432/0.04263, allocations: 0.8672 MB / 403.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.04265, allocations: 8.188 kB / 403.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.04265, allocations: 8 kB / 403.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/0.04323, allocations: 252.4 kB / 404 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.04365, allocations: 179.7 kB / 404.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.04647, allocations: 3.211 MB / 407.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.04675, allocations: 47.94 kB / 407.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.04681, allocations: 43.97 kB / 407.5 MB, free: 4.875 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.0002088/0.04701, allocations: 204.3 kB / 407.7 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.04712, allocations: 87.67 kB / 407.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.04876, allocations: 0.9097 MB / 408.7 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.04877, allocations: 12 kB / 408.7 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.04878, allocations: 7.938 kB / 408.7 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.04879, allocations: 3.984 kB / 408.7 MB, free: 3.637 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.002567/0.05136, allocations: 1.898 MB / 410.6 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.05137, allocations: 4 kB / 410.6 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.05174, allocations: 167.8 kB / 410.8 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004841/0.05223, allocations: 207.9 kB / 411 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.05227, allocations: 27.92 kB / 411 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/0.05496, allocations: 3.116 MB / 414.1 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.05497, allocations: 7.938 kB / 414.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.05651, allocations: 1.135 MB / 415.2 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.05661, allocations: 67.61 kB / 415.3 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.05667, allocations: 20 kB / 415.3 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.05689, allocations: 47.89 kB / 415.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.05701, allocations: 92.62 kB / 415.5 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.05706, allocations: 32 kB / 415.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.05722, allocations: 251.1 kB / 415.7 MB, free: 12.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05722, allocations: 0 / 415.7 MB, free: 12.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006998/0.05792, allocations: 304 kB / 416 MB, free: 11.97 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.0001505/0.05807, allocations: 135 kB / 416.2 MB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.05915, allocations: 0.8935 MB / 417.1 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.05915, allocations: 0 / 417.1 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006083/0.05976, allocations: 0.6375 MB / 417.7 MB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.0602, allocations: 86.45 kB / 417.8 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.06228, allocations: 1.465 MB / 419.2 MB, free: 8.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.0625, allocations: 267.9 kB / 419.5 MB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.06275, allocations: 144.6 kB / 419.7 MB, free: 8.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.06288, allocations: 64.47 kB / 419.7 MB, free: 8.121 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.06289, allocations: 0 / 419.7 MB, free: 8.121 MB / 394.7 MB Notification: Performance of Templates: time 0.0132/0.07608, allocations: 10.47 MB / 430.2 MB, free: 13.72 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.5776764180045575]