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.0009794/0.0009794, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009371/0.0009371, allocations: 170 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.9286/0.9286, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.2327/0.2327, 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.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.396e-05, allocations: 2.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005649/0.005663, allocations: 6.95 MB / 437.2 MB, free: 6.629 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003592/0.009255, allocations: 4.089 MB / 441.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.009475, allocations: 15.94 kB / 441.3 MB, free: 2.508 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.01075, allocations: 1.018 MB / 442.3 MB, free: 1.488 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.01249, allocations: 1.24 MB / 443.5 MB, free: 248 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2094/0.2219, allocations: 322.3 kB / 443.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.2237, allocations: 1.435 MB / 445.3 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006671/0.2244, allocations: 0.5026 MB / 445.8 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000739/0.2251, allocations: 0.8216 MB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005425/0.2257, allocations: 0.6838 MB / 447.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.139e-05/0.2257, allocations: 61.66 kB / 447.4 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.227, allocations: 1.145 MB / 448.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.2273, allocations: 0.5085 MB / 449 MB, free: 43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.2275, allocations: 310.6 kB / 449.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009684/0.2284, allocations: 1.532 MB / 450.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2285, allocations: 0 / 450.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2285, allocations: 5.141 kB / 450.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.2285, allocations: 0 / 450.8 MB, free: 42.88 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.0008792/0.2293, allocations: 1.06 MB / 451.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2294, allocations: 13.61 kB / 451.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.95e-05/0.2295, allocations: 130.6 kB / 452 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.231, allocations: 392.2 kB / 452.4 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.2314, allocations: 440 kB / 452.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.2315, allocations: 53.47 kB / 452.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-05/0.2316, allocations: 73.28 kB / 453 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.2326, allocations: 1.18 MB / 454.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.2326, allocations: 192 / 454.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.2326, allocations: 28.56 kB / 454.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/0.2327, allocations: 75.69 kB / 454.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.2338, allocations: 1.228 MB / 455.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.2371, allocations: 3.233 MB / 458.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009296/0.238, allocations: 0.9743 MB / 459.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/0.2385, allocations: 0.5976 MB / 460.3 MB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.6e-05/0.2386, allocations: 10.69 kB / 460.3 MB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.2386, allocations: 42.84 kB / 460.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 2.174e-06/0.2386, allocations: 2.625 kB / 460.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.003442/0.242, allocations: 3.007 MB / 463.4 MB, free: 38.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.2421, allocations: 92.11 kB / 463.5 MB, free: 38.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.2423, allocations: 372.8 kB / 463.8 MB, free: 38.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.2423, allocations: 33.7 kB / 463.8 MB, free: 38.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/0.2424, allocations: 325 kB / 464.2 MB, free: 37.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.2425, allocations: 328.2 kB / 464.5 MB, free: 37.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.2427, allocations: 155.5 kB / 464.6 MB, free: 37.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.2427, allocations: 364.5 kB / 465 MB, free: 37.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.2431, allocations: 473.2 kB / 465.5 MB, free: 36.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/0.2435, allocations: 0.5694 MB / 466 MB, free: 36.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009254/0.2445, allocations: 1.112 MB / 467.1 MB, free: 36.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2445, allocations: 0 / 467.1 MB, free: 36.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00137/0.2458, allocations: 1.467 MB / 468.6 MB, free: 35.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2459, allocations: 13.55 kB / 468.6 MB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2459, allocations: 2.969 kB / 468.6 MB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/0.2464, allocations: 335.1 kB / 468.9 MB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.2468, allocations: 178 kB / 469.1 MB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/0.2501, allocations: 3.921 MB / 473 MB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.2503, allocations: 44.48 kB / 473.1 MB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.2503, allocations: 40.94 kB / 473.1 MB, free: 33.23 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.0002399/0.2506, allocations: 288.2 kB / 473.4 MB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.2506, allocations: 62.58 kB / 473.5 MB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.2521, allocations: 1.556 MB / 475 MB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.2521, allocations: 12.47 kB / 475 MB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2521, allocations: 3.125 kB / 475 MB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.2522, allocations: 6.422 kB / 475 MB, free: 32.43 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.003069/0.2552, allocations: 2.786 MB / 477.8 MB, free: 31.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.2552, allocations: 8.562 kB / 477.8 MB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.2556, allocations: 170.8 kB / 478 MB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004713/0.2561, allocations: 281.1 kB / 478.3 MB, free: 31.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.2561, allocations: 33.48 kB / 478.3 MB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002799/0.2589, allocations: 3.693 MB / 482 MB, free: 28.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2589, allocations: 4.531 kB / 482 MB, free: 28.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.2605, allocations: 1.587 MB / 483.6 MB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.767e-05/0.2606, allocations: 63.7 kB / 483.7 MB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.2607, allocations: 23.38 kB / 483.7 MB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.2609, allocations: 39.58 kB / 483.7 MB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.261, allocations: 91.42 kB / 483.8 MB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.261, allocations: 41.78 kB / 483.9 MB, free: 28.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001889/0.2612, allocations: 255 kB / 484.1 MB, free: 27.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2612, allocations: 0 / 484.1 MB, free: 27.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006902/0.2619, allocations: 306.3 kB / 484.4 MB, free: 27.92 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.001678/0.2636, allocations: 2.144 MB / 486.5 MB, free: 26.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.265, allocations: 1.341 MB / 487.9 MB, free: 26.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.265, allocations: 1.125 kB / 487.9 MB, free: 26.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007568/0.2657, allocations: 0.7894 MB / 488.7 MB, free: 25.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.2662, allocations: 111.1 kB / 488.8 MB, free: 25.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007228/0.2734, allocations: 7.541 MB / 496.3 MB, free: 22.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.2739, allocations: 478.1 kB / 496.8 MB, free: 21.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003097/0.2742, allocations: 181.4 kB / 497 MB, free: 21.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.2745, allocations: 263.8 kB / 497.2 MB, free: 21.73 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2745, allocations: 0 / 497.2 MB, free: 21.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.3039, allocations: 17.97 MB / 0.5031 GB, free: 11.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/7.361, allocations: 6.953 kB / 0.5031 GB, free: 11.81 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.39285765774548]