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.0008217/0.0008217, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.004584/0.004584, allocations: 169.1 kB / 24.91 MB, free: 8.258 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.052/1.052, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2588/0.2588, allocations: 29.42 MB / 291.2 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.192e-06/1.192e-06, allocations: 0 / 316.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.462e-05, allocations: 2.312 kB / 316.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.004952/0.004967, allocations: 6.737 MB / 323.6 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003683/0.00865, allocations: 3.232 MB / 326.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.008963, allocations: 19.94 kB / 326.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009064/0.009869, allocations: 0.7079 MB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.01174, allocations: 1.194 MB / 328.8 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.01261, allocations: 314.9 kB / 329.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.01444, allocations: 1.41 MB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008765/0.01532, allocations: 0.5576 MB / 331.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.01667, allocations: 0.7944 MB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.01777, allocations: 0.631 MB / 332.5 MB, free: 260 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.01791, allocations: 60 kB / 332.6 MB, free: 200 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.02031, allocations: 1.126 MB / 333.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005036/0.02081, allocations: 0.5222 MB / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003937/0.02121, allocations: 307.3 kB / 334.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001965/0.02317, allocations: 1.289 MB / 335.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.02318, allocations: 0 / 335.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.02318, allocations: 0 / 335.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.0232, allocations: 4 kB / 335.8 MB, free: 12.94 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001409/0.02461, allocations: 1.033 MB / 336.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.02464, allocations: 15.98 kB / 336.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/0.02753, allocations: 0.4922 MB / 337.3 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.0281, allocations: 388.9 kB / 337.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.02814, allocations: 54.36 kB / 337.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.02826, allocations: 72.36 kB / 337.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000911/0.02917, allocations: 0.6322 MB / 338.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.0292, allocations: 8.141 kB / 338.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.472e-05/0.02927, allocations: 32.34 kB / 338.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.479e-05/0.02936, allocations: 69.91 kB / 338.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/0.03006, allocations: 356.4 kB / 338.9 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003255/0.03332, allocations: 2.089 MB / 341 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008243/0.03414, allocations: 0.5547 MB / 341.6 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.03439, allocations: 211.3 kB / 341.8 MB, free: 6.785 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.03443, allocations: 20.98 kB / 341.8 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.03446, allocations: 47.55 kB / 341.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.074e-06/0.03446, allocations: 0 / 341.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=92): time 0.002428/0.03689, allocations: 1.399 MB / 343.2 MB, free: 5.305 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.03693, allocations: 86.11 kB / 343.3 MB, free: 5.203 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.03712, allocations: 315.1 kB / 343.6 MB, free: 4.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.03716, allocations: 41.7 kB / 343.7 MB, free: 4.836 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.03728, allocations: 289.5 kB / 344 MB, free: 4.547 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.03744, allocations: 321.1 kB / 344.3 MB, free: 4.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.03759, allocations: 146.5 kB / 344.4 MB, free: 4.082 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.0377, allocations: 370.7 kB / 344.8 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.03785, allocations: 120.8 kB / 344.9 MB, free: 3.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.03806, allocations: 227.4 kB / 345.1 MB, free: 3.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.03849, allocations: 433.9 kB / 345.5 MB, free: 2.887 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.03849, allocations: 4 kB / 345.5 MB, free: 2.883 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007813/0.03927, allocations: 0.6302 MB / 346.2 MB, free: 2.238 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.03929, allocations: 11.94 kB / 346.2 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.0393, allocations: 7.984 kB / 346.2 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/0.03974, allocations: 220.4 kB / 346.4 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.04015, allocations: 190.2 kB / 346.6 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.04242, allocations: 2.438 MB / 349 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.04273, allocations: 23.94 kB / 349.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.928e-05/0.04279, allocations: 27.98 kB / 349.1 MB, free: 15.23 MB / 330.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.0002073/0.043, allocations: 156.5 kB / 349.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.04313, allocations: 71.91 kB / 349.3 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.04434, allocations: 0.6813 MB / 350 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.04435, allocations: 11.98 kB / 350 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.04436, allocations: 4 kB / 350 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.04437, allocations: 7.984 kB / 350 MB, free: 14.28 MB / 330.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.002433/0.0468, allocations: 1.522 MB / 351.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/0.04681, allocations: 8.031 kB / 351.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/0.04737, allocations: 167.8 kB / 351.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005932/0.04796, allocations: 192.1 kB / 351.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.601e-05/0.04803, allocations: 27.98 kB / 351.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/0.0509, allocations: 2.391 MB / 354.3 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.05091, allocations: 7.938 kB / 354.3 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.0522, allocations: 0.8817 MB / 355.2 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-05/0.05229, allocations: 59.56 kB / 355.3 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-05/0.05239, allocations: 31.92 kB / 355.3 MB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.05271, allocations: 27.94 kB / 355.3 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.05287, allocations: 80.78 kB / 355.4 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.925e-05/0.05294, allocations: 32 kB / 355.4 MB, free: 8.598 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.05308, allocations: 120.7 kB / 355.5 MB, free: 8.477 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.05308, allocations: 0 / 355.5 MB, free: 8.477 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009655/0.05404, allocations: 304 kB / 355.8 MB, free: 8.18 MB / 330.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.0001766/0.05422, allocations: 112.2 kB / 356 MB, free: 8.062 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.05536, allocations: 0.7191 MB / 356.7 MB, free: 7.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.05537, allocations: 4.562 kB / 356.7 MB, free: 7.332 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007534/0.05612, allocations: 0.5057 MB / 357.2 MB, free: 6.809 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.05673, allocations: 102.3 kB / 357.3 MB, free: 6.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.05936, allocations: 1.416 MB / 358.7 MB, free: 5.207 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.05964, allocations: 271.8 kB / 359 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000278/0.05992, allocations: 72.7 kB / 359 MB, free: 4.848 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.06022, allocations: 143.3 kB / 359.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of SimCode: time 7.22e-07/0.06022, allocations: 0 / 359.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of Templates: time 0.01338/0.0736, allocations: 11.04 MB / 370.2 MB, free: 9.762 MB / 346.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 -s gbode -gbm=radauIIA3 -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.198452190030366]