Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.0009093/0.0009093, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009457/0.0009457, allocations: 174 kB / 23.95 MB, free: 0.6094 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 0.9414/0.9414, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2457/0.2457, allocations: 29.41 MB / 290.1 MB, free: 2.457 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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.452e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006399/0.006423, allocations: 7.186 MB / 437.4 MB, free: 6.406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004518/0.01094, allocations: 4.396 MB / 441.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006728/0.01161, allocations: 19.88 kB / 441.8 MB, free: 1.973 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.01328, allocations: 1.073 MB / 442.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1923/0.2055, allocations: 1.295 MB / 444.2 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008174/0.2064, allocations: 379.1 kB / 444.5 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.2076, allocations: 1.488 MB / 446 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007069/0.2084, allocations: 0.5161 MB / 446.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.2096, allocations: 0.847 MB / 447.4 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008976/0.2105, allocations: 0.7063 MB / 448.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.86e-05/0.2106, allocations: 66.66 kB / 448.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.2124, allocations: 1.23 MB / 449.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.2127, allocations: 0.5287 MB / 449.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.213, allocations: 323.1 kB / 450.2 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.2146, allocations: 1.62 MB / 451.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2146, allocations: 0 / 451.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.2146, allocations: 0 / 451.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.2147, allocations: 0 / 451.9 MB, free: 42.7 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001358/0.216, allocations: 1.097 MB / 453 MB, free: 42.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.2161, allocations: 13.48 kB / 453 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.2162, allocations: 135.8 kB / 453.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.218, allocations: 421.9 kB / 453.5 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.2186, allocations: 448.3 kB / 454 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.2186, allocations: 59.14 kB / 454 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.2187, allocations: 78.42 kB / 454.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.2198, allocations: 1.222 MB / 455.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.2199, allocations: 7.031 kB / 455.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/0.2199, allocations: 33.61 kB / 455.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.457e-05/0.22, allocations: 87.97 kB / 455.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.2212, allocations: 1.3 MB / 456.7 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/0.2246, allocations: 3.395 MB / 460.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.2256, allocations: 1.004 MB / 461.1 MB, free: 39.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.2261, allocations: 0.584 MB / 461.7 MB, free: 38.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.2261, allocations: 16.12 kB / 461.7 MB, free: 38.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.2261, allocations: 41.91 kB / 461.8 MB, free: 38.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 2.725e-06/0.2262, allocations: 0 / 461.8 MB, free: 38.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.003731/0.2299, allocations: 3.063 MB / 464.8 MB, free: 37.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.2299, allocations: 88.8 kB / 464.9 MB, free: 37.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.2302, allocations: 392.4 kB / 465.3 MB, free: 37.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.2302, allocations: 40.73 kB / 465.3 MB, free: 37.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.2303, allocations: 326 kB / 465.7 MB, free: 37.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.2304, allocations: 332.8 kB / 466 MB, free: 36.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.2306, allocations: 162.6 kB / 466.2 MB, free: 36.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.2306, allocations: 371.6 kB / 466.5 MB, free: 36.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.231, allocations: 464.5 kB / 467 MB, free: 36.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/0.2315, allocations: 0.5738 MB / 467.5 MB, free: 36.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.2325, allocations: 1.121 MB / 468.7 MB, free: 35.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2325, allocations: 0 / 468.7 MB, free: 35.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00161/0.2341, allocations: 1.472 MB / 470.1 MB, free: 35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.2341, allocations: 5.906 kB / 470.1 MB, free: 35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.2342, allocations: 2.812 kB / 470.1 MB, free: 35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000688/0.2348, allocations: 336.5 kB / 470.5 MB, free: 34.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.2353, allocations: 182.3 kB / 470.6 MB, free: 34.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.2385, allocations: 3.905 MB / 474.6 MB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.2388, allocations: 47.3 kB / 474.6 MB, free: 32.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.2389, allocations: 37.81 kB / 474.6 MB, free: 32.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0003325/0.2392, allocations: 304.9 kB / 474.9 MB, free: 32.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.2393, allocations: 62.94 kB / 475 MB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.2407, allocations: 1.536 MB / 476.5 MB, free: 31.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.2407, allocations: 8.531 kB / 476.5 MB, free: 31.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2408, allocations: 11.69 kB / 476.6 MB, free: 31.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.2408, allocations: 6.969 kB / 476.6 MB, free: 31.72 MB / 410.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.003164/0.2439, allocations: 2.765 MB / 479.3 MB, free: 30.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.2439, allocations: 3.312 kB / 479.3 MB, free: 30.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.2443, allocations: 164.4 kB / 479.5 MB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004771/0.2447, allocations: 284.2 kB / 479.8 MB, free: 30.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.2448, allocations: 30.58 kB / 479.8 MB, free: 30.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002984/0.2478, allocations: 3.678 MB / 483.5 MB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.2478, allocations: 7.875 kB / 483.5 MB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.2494, allocations: 1.568 MB / 485 MB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.2495, allocations: 70.08 kB / 485.1 MB, free: 27.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.2496, allocations: 32.28 kB / 485.1 MB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.2498, allocations: 40.47 kB / 485.2 MB, free: 27.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.25, allocations: 85.23 kB / 485.3 MB, free: 27.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/0.25, allocations: 33.56 kB / 485.3 MB, free: 27.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002773/0.2503, allocations: 270.7 kB / 485.6 MB, free: 27.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2503, allocations: 0 / 485.6 MB, free: 27.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009912/0.2513, allocations: 306.2 kB / 485.9 MB, free: 27.23 MB / 410.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.001742/0.2531, allocations: 2.13 MB / 488 MB, free: 25.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.2547, allocations: 1.333 MB / 489.3 MB, free: 25.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.2548, allocations: 0 / 489.3 MB, free: 25.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008904/0.2556, allocations: 0.7927 MB / 490.1 MB, free: 25.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005625/0.2562, allocations: 108.8 kB / 490.2 MB, free: 25.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008632/0.2648, allocations: 7.637 MB / 497.9 MB, free: 21.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.2654, allocations: 490.2 kB / 498.3 MB, free: 21.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004209/0.2658, allocations: 182.3 kB / 498.5 MB, free: 21.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.2661, allocations: 275.1 kB / 498.8 MB, free: 20.99 MB / 410.7 MB Notification: Performance of SimCode: time 2.194e-06/0.2661, allocations: 0 / 498.8 MB, free: 20.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/0.3031, allocations: 18.16 MB / 0.5048 GB, free: 9.938 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.097/7.4, allocations: 7.156 kB / 0.5048 GB, free: 9.934 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.50298521015793]