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.00133/0.00133, allocations: 121 kB / 18.49 MB, free: 4.586 MB / 14.72 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.001345/0.001345, allocations: 213.5 kB / 21.45 MB, free: 1.641 MB / 14.72 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 1.531/1.531, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.1944/0.1944, allocations: 38.51 MB / 349.4 MB, free: 2.617 MB / 270.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 75.95 kB / 487.9 MB, free: 32.4 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1068, allocations: 62.41 MB / 0.5374 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.01131/0.1181, allocations: 7.528 MB / 0.5447 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00775/0.1259, allocations: 4.451 MB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007795/0.1267, allocations: 19.88 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.1296, allocations: 1.046 MB / 0.5501 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003961/0.1336, allocations: 1.215 MB / 0.5513 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.1347, allocations: 323.1 kB / 0.5516 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002376/0.1371, allocations: 1.399 MB / 0.553 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.1382, allocations: 0.5323 MB / 0.5535 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.1398, allocations: 0.6303 MB / 0.5541 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.1411, allocations: 0.7437 MB / 0.5548 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.1413, allocations: 64 kB / 0.5549 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.144, allocations: 1.379 MB / 0.5562 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006512/0.1446, allocations: 490.6 kB / 0.5567 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006512/0.1453, allocations: 438 kB / 0.5571 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.1481, allocations: 1.464 MB / 0.5586 GB, free: 3.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1481, allocations: 0 / 0.5586 GB, free: 3.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1481, allocations: 0 / 0.5586 GB, free: 3.766 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.1482, allocations: 0 / 0.5586 GB, free: 3.766 MB / 414.1 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.001991/0.1502, allocations: 1.153 MB / 0.5597 GB, free: 2.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.1502, allocations: 12.03 kB / 0.5597 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.215e-05/0.1502, allocations: 18.19 kB / 0.5597 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.1504, allocations: 135 kB / 0.5598 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003356/0.1537, allocations: 391.9 kB / 0.5602 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009728/0.1547, allocations: 490.9 kB / 0.5607 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/0.1548, allocations: 54.36 kB / 0.5607 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.1549, allocations: 76.34 kB / 0.5608 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.157, allocations: 1.176 MB / 0.562 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.1571, allocations: 3.938 kB / 0.562 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/0.1571, allocations: 35.98 kB / 0.562 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.1573, allocations: 73.95 kB / 0.5621 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.1593, allocations: 1.237 MB / 0.5633 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005928/0.1652, allocations: 3.5 MB / 0.5667 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.167, allocations: 0.9911 MB / 0.5677 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009563/0.168, allocations: 0.5901 MB / 0.5682 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.302e-05/0.1681, allocations: 20.97 kB / 0.5683 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.1681, allocations: 43.56 kB / 0.5683 GB, free: 9.535 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 2.514e-06/0.1681, allocations: 0 / 0.5683 GB, free: 9.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.007223/0.1753, allocations: 3.093 MB / 0.5713 GB, free: 6.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.1754, allocations: 90.11 kB / 0.5714 GB, free: 6.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/0.1759, allocations: 365.6 kB / 0.5717 GB, free: 5.941 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.1759, allocations: 41.7 kB / 0.5718 GB, free: 5.895 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.1762, allocations: 313 kB / 0.5721 GB, free: 5.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.1765, allocations: 329.1 kB / 0.5724 GB, free: 5.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.1768, allocations: 162.6 kB / 0.5726 GB, free: 5.094 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.177, allocations: 366.8 kB / 0.5729 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/0.1777, allocations: 469.7 kB / 0.5734 GB, free: 4.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008494/0.1786, allocations: 0.5734 MB / 0.5739 GB, free: 3.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.1804, allocations: 1.117 MB / 0.575 GB, free: 2.523 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.1804, allocations: 4 kB / 0.575 GB, free: 2.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002835/0.1832, allocations: 1.462 MB / 0.5764 GB, free: 1.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.1832, allocations: 8 kB / 0.5764 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.1833, allocations: 0 / 0.5764 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.1844, allocations: 340.8 kB / 0.5768 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008097/0.1852, allocations: 175.7 kB / 0.5769 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006674/0.1918, allocations: 4.193 MB / 0.581 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007513/0.1926, allocations: 43.95 kB / 0.5811 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/0.1927, allocations: 35.98 kB / 0.5811 GB, free: 12.1 MB / 446.1 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.0005405/0.1932, allocations: 313.4 kB / 0.5814 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.1934, allocations: 55.67 kB / 0.5815 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.1965, allocations: 1.547 MB / 0.583 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.1965, allocations: 12 kB / 0.583 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.1965, allocations: 4 kB / 0.583 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.1966, allocations: 11.98 kB / 0.583 GB, free: 10.14 MB / 446.1 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.006143/0.2027, allocations: 3.023 MB / 0.5859 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.2027, allocations: 4.094 kB / 0.586 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007077/0.2034, allocations: 167.8 kB / 0.5861 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008941/0.2043, allocations: 284.5 kB / 0.5864 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/0.2044, allocations: 31.98 kB / 0.5864 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006193/0.2106, allocations: 3.911 MB / 0.5902 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-05/0.2106, allocations: 11.88 kB / 0.5902 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003815/0.2144, allocations: 1.587 MB / 0.5918 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.2148, allocations: 144.7 kB / 0.5919 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.2149, allocations: 27.94 kB / 0.592 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005528/0.2155, allocations: 39.95 kB / 0.592 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.2157, allocations: 88.77 kB / 0.5921 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.981e-05/0.2158, allocations: 32 kB / 0.5921 GB, free: 452 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004711/0.2163, allocations: 259.1 kB / 0.5924 GB, free: 196 kB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2163, allocations: 0 / 0.5924 GB, free: 196 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001437/0.2177, allocations: 308 kB / 0.5927 GB, free: 15.89 MB / 462.1 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.003492/0.2212, allocations: 2.145 MB / 0.5947 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0026/0.2238, allocations: 1.346 MB / 0.5961 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.2238, allocations: 0 / 0.5961 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.2254, allocations: 0.7888 MB / 0.5968 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.2264, allocations: 106.3 kB / 0.5969 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.2403, allocations: 7.534 MB / 0.6043 GB, free: 3.629 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009692/0.2412, allocations: 1.076 MB / 0.6053 GB, free: 2.527 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005072/0.2418, allocations: 176.6 kB / 0.6055 GB, free: 2.352 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.2422, allocations: 259.3 kB / 0.6058 GB, free: 2.098 MB / 462.1 MB Notification: Performance of SimCode: time 1.473e-06/0.2422, allocations: 0 / 0.6058 GB, free: 2.098 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2948/0.537, allocations: 16.91 MB / 0.6223 GB, free: 63.44 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.93, allocations: 12.97 kB / 0.6223 GB, free: 63.43 MB / 462.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins1/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: 15.22111646400299]