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.001172/0.001172, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002133/0.003305, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001191/0.001191, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001591/0.002782, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9937/0.9937, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0819/1.076, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1145/0.1145, allocations: 29.44 MB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1318/0.2463, allocations: 9.534 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.793e-06/1.793e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.728e-05, allocations: 3.516 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008409/0.008427, allocations: 6.814 MB / 291.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005089/0.01352, allocations: 3.264 MB / 294.3 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003631/0.01388, allocations: 16.53 kB / 294.3 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.01549, allocations: 0.9155 MB / 295.2 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002726/0.01822, allocations: 1.267 MB / 296.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007917/0.01901, allocations: 308 kB / 296.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001896/0.02091, allocations: 1.491 MB / 298.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008336/0.02174, allocations: 0.5382 MB / 298.8 MB, free: 168 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.02326, allocations: 0.8742 MB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009861/0.02424, allocations: 0.6933 MB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.02435, allocations: 64 kB / 300.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.02591, allocations: 1.125 MB / 301.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003553/0.02626, allocations: 0.499 MB / 302.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.02651, allocations: 271.5 kB / 302.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.02789, allocations: 1.188 MB / 303.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.728e-05/0.02791, allocations: 0 / 303.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.02791, allocations: 0 / 303.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.336e-05/0.02794, allocations: 0 / 303.6 MB, free: 11.45 MB / 298.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.001159/0.0291, allocations: 1.291 MB / 304.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.02913, allocations: 8.031 kB / 304.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.03075, allocations: 0.5753 MB / 305.4 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.03116, allocations: 377 kB / 305.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.0312, allocations: 58.36 kB / 305.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.03128, allocations: 68.36 kB / 305.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009659/0.03224, allocations: 0.64 MB / 306.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.03226, allocations: 4.188 kB / 306.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/0.03232, allocations: 32.36 kB / 306.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.106e-05/0.03239, allocations: 73.89 kB / 306.7 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.03283, allocations: 348.5 kB / 307 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.03514, allocations: 2.109 MB / 309.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006272/0.03576, allocations: 0.5664 MB / 309.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.03598, allocations: 225.6 kB / 309.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.03603, allocations: 17 kB / 309.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.03606, allocations: 47.56 kB / 310 MB, free: 4.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 3.166e-06/0.03607, allocations: 3.984 kB / 310 MB, free: 4.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=92): time 0.00233/0.0384, allocations: 1.384 MB / 311.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.03844, allocations: 90.23 kB / 311.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.0386, allocations: 311.2 kB / 311.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.03864, allocations: 41.7 kB / 311.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.03874, allocations: 293.5 kB / 312.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.03891, allocations: 325.1 kB / 312.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.03905, allocations: 146.5 kB / 312.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.03914, allocations: 370.7 kB / 312.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.03929, allocations: 124.8 kB / 313 MB, free: 1.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.03947, allocations: 219.4 kB / 313.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006477/0.04012, allocations: 441.8 kB / 313.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.04012, allocations: 0 / 313.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.000722/0.04085, allocations: 0.6301 MB / 314.3 MB, free: 380 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.04086, allocations: 4 kB / 314.3 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.04087, allocations: 8.094 kB / 314.3 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/0.04131, allocations: 215.4 kB / 314.5 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.04177, allocations: 203.7 kB / 314.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.04378, allocations: 2.434 MB / 317.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.04397, allocations: 20 kB / 317.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.04401, allocations: 27.98 kB / 317.2 MB, free: 13.37 MB / 314.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.0001526/0.04417, allocations: 156.5 kB / 317.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/0.04425, allocations: 71.81 kB / 317.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008294/0.04508, allocations: 0.6891 MB / 318.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.04508, allocations: 15.94 kB / 318.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.04509, allocations: 4 kB / 318.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.0451, allocations: 7.984 kB / 318.1 MB, free: 12.41 MB / 314.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.00174/0.04684, allocations: 1.529 MB / 319.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.04685, allocations: 4 kB / 319.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.04721, allocations: 178.8 kB / 319.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.04726, allocations: 67.55 kB / 319.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003627/0.04763, allocations: 204.1 kB / 320.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.04767, allocations: 27.92 kB / 320.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.04967, allocations: 2.386 MB / 322.5 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.04968, allocations: 11.94 kB / 322.5 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007842/0.05047, allocations: 0.8856 MB / 323.4 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.05052, allocations: 23.94 kB / 323.4 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.0507, allocations: 24 kB / 323.5 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.05078, allocations: 84.72 kB / 323.5 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.05082, allocations: 31.98 kB / 323.6 MB, free: 6.691 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.712e-05/0.05089, allocations: 116.7 kB / 323.7 MB, free: 6.574 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.0509, allocations: 0 / 323.7 MB, free: 6.574 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005037/0.0514, allocations: 316 kB / 324 MB, free: 6.266 MB / 314.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.0001112/0.05151, allocations: 104.2 kB / 324.1 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007223/0.05223, allocations: 0.7192 MB / 324.8 MB, free: 5.426 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.09e-05/0.05225, allocations: 12.66 kB / 324.8 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004431/0.0527, allocations: 0.5108 MB / 325.3 MB, free: 4.895 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.05309, allocations: 176.4 kB / 325.5 MB, free: 4.723 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.06791, allocations: 1.464 MB / 327 MB, free: 3.168 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.06812, allocations: 271.8 kB / 327.2 MB, free: 2.883 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.06832, allocations: 64.78 kB / 327.3 MB, free: 2.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.06855, allocations: 143.3 kB / 327.4 MB, free: 2.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.643e-06/0.06855, allocations: 3.938 kB / 327.5 MB, free: 2.676 MB / 314.7 MB Notification: Performance of Templates: time 0.01282/0.08137, allocations: 11.15 MB / 338.6 MB, free: 7.617 MB / 330.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 -ignoreHideResult -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.025265975855291]