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.000998/0.000998, 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.001146/0.001146, allocations: 174 kB / 23.95 MB, free: 0.6133 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.9441/0.9441, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2404/0.2404, allocations: 29.41 MB / 290.1 MB, free: 2.449 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.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.882e-05, allocations: 8.609 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.005923/0.005952, allocations: 6.935 MB / 437.2 MB, free: 6.637 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004289/0.01024, allocations: 4.089 MB / 441.2 MB, free: 2.531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000451/0.01069, allocations: 15.94 kB / 441.3 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.01209, allocations: 1.018 MB / 442.3 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.01436, allocations: 1.236 MB / 443.5 MB, free: 260 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2068/0.2212, allocations: 327.5 kB / 443.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.2228, allocations: 1.429 MB / 445.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006222/0.2234, allocations: 0.5065 MB / 445.8 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007507/0.2242, allocations: 0.8195 MB / 446.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.2247, allocations: 0.6856 MB / 447.3 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.2248, allocations: 65.06 kB / 447.3 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.2263, allocations: 1.142 MB / 448.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.2266, allocations: 0.5087 MB / 449 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.2268, allocations: 315 kB / 449.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.2281, allocations: 1.529 MB / 450.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2281, allocations: 0 / 450.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2281, allocations: 1.531 kB / 450.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.2281, allocations: 3.25 kB / 450.8 MB, free: 42.92 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001067/0.2292, allocations: 1.062 MB / 451.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2292, allocations: 13.89 kB / 451.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.309e-05/0.2293, allocations: 131.8 kB / 452 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.2309, allocations: 390.6 kB / 452.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005768/0.2315, allocations: 437.3 kB / 452.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.2315, allocations: 52.86 kB / 452.9 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.359e-05/0.2316, allocations: 70.56 kB / 453 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.2329, allocations: 1.178 MB / 454.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.2329, allocations: 3.75 kB / 454.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/0.2329, allocations: 29.19 kB / 454.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.749e-05/0.233, allocations: 78.16 kB / 454.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.2341, allocations: 1.232 MB / 455.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003131/0.2372, allocations: 3.228 MB / 458.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009546/0.2382, allocations: 0.9743 MB / 459.7 MB, free: 39.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.2387, allocations: 0.5936 MB / 460.3 MB, free: 39.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.2387, allocations: 22.22 kB / 460.3 MB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.2388, allocations: 38.88 kB / 460.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 3.727e-06/0.2388, allocations: 0 / 460.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.003681/0.2424, allocations: 3.004 MB / 463.3 MB, free: 38.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.2425, allocations: 91.23 kB / 463.4 MB, free: 38.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.2427, allocations: 374.7 kB / 463.8 MB, free: 38.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.2428, allocations: 40.89 kB / 463.8 MB, free: 38.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2429, allocations: 327.7 kB / 464.2 MB, free: 37.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.243, allocations: 319.4 kB / 464.5 MB, free: 37.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.2431, allocations: 157.9 kB / 464.6 MB, free: 37.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.2432, allocations: 368.4 kB / 465 MB, free: 37.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/0.2436, allocations: 468.8 kB / 465.4 MB, free: 36.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.244, allocations: 0.5676 MB / 466 MB, free: 36.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009229/0.245, allocations: 1.115 MB / 467.1 MB, free: 36.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.245, allocations: 0 / 467.1 MB, free: 36.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001397/0.2464, allocations: 1.466 MB / 468.6 MB, free: 35.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2464, allocations: 6.406 kB / 468.6 MB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2464, allocations: 7.281 kB / 468.6 MB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005511/0.2469, allocations: 328.7 kB / 468.9 MB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.2473, allocations: 187.1 kB / 469.1 MB, free: 35.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/0.2505, allocations: 3.921 MB / 473 MB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.2509, allocations: 51.34 kB / 473.1 MB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.2509, allocations: 39.06 kB / 473.1 MB, free: 33.22 MB / 410.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.0003521/0.2513, allocations: 288.7 kB / 473.4 MB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.766e-05/0.2513, allocations: 64.14 kB / 473.5 MB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.2529, allocations: 1.553 MB / 475 MB, free: 32.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2529, allocations: 14.25 kB / 475 MB, free: 32.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2529, allocations: 5.844 kB / 475 MB, free: 32.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.2529, allocations: 6.797 kB / 475 MB, free: 32.42 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.003239/0.2561, allocations: 2.781 MB / 477.8 MB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.2561, allocations: 4.188 kB / 477.8 MB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.2565, allocations: 166.7 kB / 478 MB, free: 31.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004793/0.2569, allocations: 288.8 kB / 478.3 MB, free: 31.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.257, allocations: 21.31 kB / 478.3 MB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00315/0.2601, allocations: 3.7 MB / 482 MB, free: 28.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.2601, allocations: 9.656 kB / 482 MB, free: 28.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.2618, allocations: 1.581 MB / 483.6 MB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.2619, allocations: 67.39 kB / 483.6 MB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.262, allocations: 23.94 kB / 483.7 MB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.2622, allocations: 46.59 kB / 483.7 MB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.2623, allocations: 87.09 kB / 483.8 MB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.2624, allocations: 33.81 kB / 483.8 MB, free: 28.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002478/0.2626, allocations: 265.2 kB / 484.1 MB, free: 27.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2626, allocations: 0 / 484.1 MB, free: 27.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008382/0.2635, allocations: 306.9 kB / 484.4 MB, free: 27.91 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.00165/0.2651, allocations: 2.139 MB / 486.5 MB, free: 26.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.2667, allocations: 1.346 MB / 487.9 MB, free: 26.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2667, allocations: 0 / 487.9 MB, free: 26.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008707/0.2675, allocations: 0.7919 MB / 488.7 MB, free: 25.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.2681, allocations: 107.8 kB / 488.8 MB, free: 25.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00921/0.2773, allocations: 7.539 MB / 496.3 MB, free: 22.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.2779, allocations: 478.5 kB / 496.8 MB, free: 21.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004297/0.2784, allocations: 183.7 kB / 497 MB, free: 21.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.2786, allocations: 258.9 kB / 497.2 MB, free: 21.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/0.2786, allocations: 0 / 497.2 MB, free: 21.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.3131, allocations: 17.97 MB / 0.5031 GB, free: 11.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.433, allocations: 15 kB / 0.5031 GB, free: 11.8 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.512815965339541]