Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.0008831/0.0008831, 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.0009489/0.0009489, 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.9475/0.9475, allocations: 177.2 MB / 204.3 MB, free: 5.738 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.2445/0.2445, 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_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.516e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006158/0.006183, allocations: 7.087 MB / 437.3 MB, free: 6.473 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.01005, allocations: 3.863 MB / 441.2 MB, free: 2.594 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005606/0.01061, allocations: 19.94 kB / 441.2 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.01234, allocations: 1.03 MB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.01442, allocations: 1.12 MB / 443.3 MB, free: 428 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.01535, allocations: 326.7 kB / 443.7 MB, free: 100 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2102/0.2256, allocations: 1.384 MB / 445.1 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006943/0.2263, allocations: 397.8 kB / 445.4 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.2273, allocations: 0.7276 MB / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006831/0.228, allocations: 0.5977 MB / 446.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.422e-05/0.2281, allocations: 34.28 kB / 446.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.2293, allocations: 0.8006 MB / 447.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.2295, allocations: 310 kB / 447.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.2297, allocations: 178 kB / 448.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.2308, allocations: 0.8483 MB / 448.9 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2308, allocations: 0 / 448.9 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.2308, allocations: 0 / 448.9 MB, free: 43.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.2308, allocations: 0 / 448.9 MB, free: 43.06 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.000821/0.2316, allocations: 0.7352 MB / 449.7 MB, free: 42.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.2316, allocations: 13.48 kB / 449.7 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.348e-05/0.2317, allocations: 84.17 kB / 449.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.2325, allocations: 125.2 kB / 449.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.2329, allocations: 284.5 kB / 450.2 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.2329, allocations: 28.78 kB / 450.2 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.2329, allocations: 43.88 kB / 450.2 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.2334, allocations: 0.5887 MB / 450.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2335, allocations: 3.844 kB / 450.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.2335, allocations: 21.86 kB / 450.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/0.2335, allocations: 38.03 kB / 450.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.2339, allocations: 384 kB / 451.3 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.2352, allocations: 2.46 MB / 453.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.2356, allocations: 409.7 kB / 454.1 MB, free: 40.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.2358, allocations: 193.1 kB / 454.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.2358, allocations: 7.25 kB / 454.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.2359, allocations: 36.44 kB / 454.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.2359, allocations: 7.562 kB / 454.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009795/0.2368, allocations: 0.6785 MB / 455 MB, free: 40.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.2369, allocations: 106.1 kB / 455.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.2371, allocations: 331.4 kB / 455.5 MB, free: 39.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.2371, allocations: 28.77 kB / 455.5 MB, free: 39.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.2372, allocations: 250.5 kB / 455.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.2372, allocations: 127.6 kB / 455.9 MB, free: 39.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.2373, allocations: 82.95 kB / 455.9 MB, free: 39.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.2373, allocations: 346.3 kB / 456.3 MB, free: 39.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.2375, allocations: 126.6 kB / 456.4 MB, free: 39.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.2376, allocations: 285.1 kB / 456.7 MB, free: 39.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.2379, allocations: 460 kB / 457.1 MB, free: 38.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2379, allocations: 0 / 457.1 MB, free: 38.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004513/0.2384, allocations: 0.56 MB / 457.7 MB, free: 38.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2384, allocations: 6.406 kB / 457.7 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2384, allocations: 3.906 kB / 457.7 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/0.2386, allocations: 124.3 kB / 457.8 MB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.2388, allocations: 75.55 kB / 457.9 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.2403, allocations: 2.377 MB / 460.3 MB, free: 36.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.2404, allocations: 40.75 kB / 460.3 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.2405, allocations: 17.16 kB / 460.3 MB, free: 36.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001595/0.2406, allocations: 215.7 kB / 460.5 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.2407, allocations: 39.83 kB / 460.6 MB, free: 36.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.2407, allocations: 45.23 kB / 460.6 MB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.2407, allocations: 10.17 kB / 460.6 MB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.2407, allocations: 0 / 460.6 MB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2407, allocations: 3.312 kB / 460.6 MB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007878/0.2415, allocations: 0.8775 MB / 461.5 MB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2415, allocations: 0 / 461.5 MB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.2416, allocations: 38.52 kB / 461.5 MB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001665/0.2417, allocations: 116.2 kB / 461.7 MB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2418, allocations: 6.844 kB / 461.7 MB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.2431, allocations: 2.366 MB / 464 MB, free: 34.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2431, allocations: 0 / 464 MB, free: 34.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000435/0.2435, allocations: 0.6353 MB / 464.7 MB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.2436, allocations: 39.7 kB / 464.7 MB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.2436, allocations: 7.031 kB / 464.7 MB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.2437, allocations: 4 kB / 464.7 MB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.2437, allocations: 33.09 kB / 464.7 MB, free: 33.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.2437, allocations: 13.66 kB / 464.8 MB, free: 33.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001295/0.2439, allocations: 219.2 kB / 465 MB, free: 33.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2439, allocations: 0 / 465 MB, free: 33.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005077/0.2444, allocations: 165.1 kB / 465.1 MB, free: 33.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006015/0.245, allocations: 1.154 MB / 466.3 MB, free: 32.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006599/0.2456, allocations: 0.5102 MB / 466.8 MB, free: 32.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2456, allocations: 3.125 kB / 466.8 MB, free: 32.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.2459, allocations: 326.6 kB / 467.1 MB, free: 32.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.2463, allocations: 62.12 kB / 467.2 MB, free: 32.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.2494, allocations: 3.992 MB / 471.2 MB, free: 29.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.2496, allocations: 275.7 kB / 471.4 MB, free: 29.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.2497, allocations: 71.84 kB / 471.5 MB, free: 29.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.2498, allocations: 115.6 kB / 471.6 MB, free: 29.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.565e-06/0.2498, allocations: 4 kB / 471.6 MB, free: 29.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.2755, allocations: 8.499 MB / 480.1 MB, free: 28.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/7.147, allocations: 9.953 kB / 480.1 MB, free: 28.14 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.184491413645446]