Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.001455/0.001455, 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.001095/0.001095, allocations: 165 kB / 24.56 MB, free: 12 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.9774/0.9774, allocations: 177.1 MB / 205 MB, free: 5.629 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.2627/0.2627, allocations: 29.42 MB / 290.9 MB, free: 2.445 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,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") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.837e-05, allocations: 5.922 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.005666/0.005695, allocations: 6.724 MB / 376.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.009258, allocations: 3.205 MB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003518/0.00961, allocations: 15.94 kB / 379.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.01066, allocations: 0.7119 MB / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.01281, allocations: 1.205 MB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006251/0.01343, allocations: 330.8 kB / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.0147, allocations: 1.394 MB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000675/0.01538, allocations: 0.505 MB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.01647, allocations: 0.7983 MB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008811/0.01735, allocations: 0.6855 MB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.234e-05/0.01744, allocations: 64 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.01911, allocations: 1.122 MB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000411/0.01952, allocations: 0.5222 MB / 386.9 MB, free: 9.617 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.01982, allocations: 311.3 kB / 387.2 MB, free: 9.312 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.02168, allocations: 1.285 MB / 388.5 MB, free: 8.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.02168, allocations: 0 / 388.5 MB, free: 8.023 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.02169, allocations: 0 / 388.5 MB, free: 8.023 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.02171, allocations: 4 kB / 388.5 MB, free: 8.02 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.001687/0.0234, allocations: 1.182 MB / 389.7 MB, free: 6.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.02344, allocations: 11.98 kB / 389.7 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.02533, allocations: 0.5425 MB / 390.3 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005996/0.02593, allocations: 427.8 kB / 390.7 MB, free: 5.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/0.02597, allocations: 54.36 kB / 390.7 MB, free: 5.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-05/0.02605, allocations: 72.36 kB / 390.8 MB, free: 5.676 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009113/0.02697, allocations: 0.6931 MB / 391.5 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.027, allocations: 8.125 kB / 391.5 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.545e-05/0.02705, allocations: 28.36 kB / 391.5 MB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.114e-05/0.02713, allocations: 73.89 kB / 391.6 MB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007228/0.02786, allocations: 0.4956 MB / 392.1 MB, free: 4.348 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/0.03091, allocations: 2.684 MB / 394.8 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008315/0.03174, allocations: 0.5981 MB / 395.4 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.03208, allocations: 278.3 kB / 395.7 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-05/0.03213, allocations: 24.98 kB / 395.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.03217, allocations: 46.39 kB / 395.7 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 3.477e-06/0.03217, allocations: 0 / 395.7 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of matching and sorting (n=92): time 0.003602/0.03577, allocations: 1.88 MB / 397.6 MB, free: 14.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.03582, allocations: 90.05 kB / 397.7 MB, free: 14.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.03612, allocations: 378.7 kB / 398.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.03616, allocations: 45.69 kB / 398.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.03632, allocations: 367.7 kB / 398.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.03651, allocations: 337.1 kB / 398.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.03667, allocations: 164.3 kB / 399 MB, free: 13.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.03682, allocations: 0.543 MB / 399.5 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.03709, allocations: 177.9 kB / 399.7 MB, free: 12.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.03741, allocations: 327.7 kB / 400 MB, free: 12.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/0.03805, allocations: 0.5514 MB / 400.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.03805, allocations: 0 / 400.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001142/0.03919, allocations: 0.8633 MB / 401.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.03922, allocations: 4 kB / 401.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.03922, allocations: 4 kB / 401.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/0.03979, allocations: 252.6 kB / 401.7 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.04022, allocations: 179.7 kB / 401.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/0.04354, allocations: 3.227 MB / 405.1 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.04387, allocations: 55.88 kB / 405.1 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.04393, allocations: 31.98 kB / 405.1 MB, free: 6.871 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.0002679/0.0442, allocations: 208.4 kB / 405.4 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.04431, allocations: 83.67 kB / 405.4 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.04555, allocations: 0.9097 MB / 406.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.04556, allocations: 12 kB / 406.4 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.04557, allocations: 7.938 kB / 406.4 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.04558, allocations: 3.984 kB / 406.4 MB, free: 5.633 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.002534/0.04811, allocations: 1.902 MB / 408.3 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.04812, allocations: 4 kB / 408.3 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.04844, allocations: 167.8 kB / 408.4 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/0.04892, allocations: 211.5 kB / 408.6 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.04897, allocations: 27.92 kB / 408.7 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/0.05168, allocations: 3.113 MB / 411.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.05168, allocations: 11.94 kB / 411.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.05287, allocations: 1.128 MB / 412.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/0.05295, allocations: 67.59 kB / 413 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.05301, allocations: 24 kB / 413 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.05322, allocations: 43.95 kB / 413.1 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.05333, allocations: 96.62 kB / 413.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/0.05338, allocations: 35.98 kB / 413.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001486/0.05353, allocations: 247.1 kB / 413.4 MB, free: 14.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05353, allocations: 0 / 413.4 MB, free: 14.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006425/0.05417, allocations: 304 kB / 413.7 MB, free: 13.96 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.0001365/0.0543, allocations: 123.1 kB / 413.8 MB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.05537, allocations: 0.9009 MB / 414.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.05537, allocations: 0.5625 kB / 414.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.05597, allocations: 0.6326 MB / 415.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.05639, allocations: 99.2 kB / 415.5 MB, free: 12.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.05846, allocations: 1.454 MB / 416.9 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.05897, allocations: 267.9 kB / 417.2 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002362/0.05921, allocations: 144.5 kB / 417.3 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.05936, allocations: 64.47 kB / 417.4 MB, free: 10.12 MB / 394.7 MB Notification: Performance of SimCode: time 2.144e-06/0.05936, allocations: 0 / 417.4 MB, free: 10.12 MB / 394.7 MB Notification: Performance of Templates: time 0.01329/0.07265, allocations: 10.75 MB / 428.1 MB, free: 15.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.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.3072146149352193]