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.001777/0.001777, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.002216/0.002216, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.566/1.566, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.1845/0.1845, allocations: 38.5 MB / 349.4 MB, free: 2.59 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_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",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.00196/0.00196, allocations: 79.88 kB / 487.9 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1143, allocations: 62.41 MB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.00966/0.124, allocations: 7.662 MB / 0.5448 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006111/0.1301, allocations: 4.218 MB / 0.549 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004621/0.1306, allocations: 19.94 kB / 0.549 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.1333, allocations: 1.051 MB / 0.55 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.1359, allocations: 1.102 MB / 0.5511 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008533/0.1368, allocations: 315.2 kB / 0.5514 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.1384, allocations: 1.363 MB / 0.5527 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006761/0.1391, allocations: 364 kB / 0.5531 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009345/0.14, allocations: 0.5834 MB / 0.5536 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008756/0.1409, allocations: 0.6423 MB / 0.5543 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.1409, allocations: 36 kB / 0.5543 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.1428, allocations: 1.021 MB / 0.5553 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.1431, allocations: 283.1 kB / 0.5556 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.1434, allocations: 246.8 kB / 0.5558 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.1447, allocations: 0.8135 MB / 0.5566 GB, free: 3.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1447, allocations: 0 / 0.5566 GB, free: 3.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1447, allocations: 0 / 0.5566 GB, free: 3.773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1447, allocations: 11.88 kB / 0.5566 GB, free: 3.762 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001216/0.146, allocations: 0.8183 MB / 0.5574 GB, free: 2.891 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.146, allocations: 12.03 kB / 0.5574 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.972e-05/0.146, allocations: 9.188 kB / 0.5574 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.1461, allocations: 82.69 kB / 0.5575 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.1477, allocations: 132.5 kB / 0.5576 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.1482, allocations: 334.7 kB / 0.558 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.1483, allocations: 29.36 kB / 0.558 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.1483, allocations: 44.36 kB / 0.558 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008742/0.1492, allocations: 0.5904 MB / 0.5586 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1492, allocations: 0 / 0.5586 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.1492, allocations: 19.98 kB / 0.5586 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/0.1493, allocations: 36.62 kB / 0.5587 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000595/0.1499, allocations: 378.2 kB / 0.559 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.1526, allocations: 2.604 MB / 0.5616 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007095/0.1533, allocations: 415.9 kB / 0.562 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.1536, allocations: 185.4 kB / 0.5621 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1536, allocations: 4 kB / 0.5621 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.1537, allocations: 50.48 kB / 0.5622 GB, free: 13.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.1537, allocations: 3.938 kB / 0.5622 GB, free: 13.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.001776/0.1554, allocations: 0.7619 MB / 0.5629 GB, free: 12.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.1555, allocations: 110.8 kB / 0.563 GB, free: 12.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.1559, allocations: 316.6 kB / 0.5633 GB, free: 12.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.1559, allocations: 33.7 kB / 0.5634 GB, free: 12.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.1561, allocations: 252.4 kB / 0.5636 GB, free: 12.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.1562, allocations: 123 kB / 0.5637 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.1563, allocations: 86.14 kB / 0.5638 GB, free: 11.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1565, allocations: 342.8 kB / 0.5641 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.1567, allocations: 128.8 kB / 0.5643 GB, free: 11.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.1571, allocations: 279.4 kB / 0.5645 GB, free: 11.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/0.1576, allocations: 460.1 kB / 0.565 GB, free: 10.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1576, allocations: 4 kB / 0.565 GB, free: 10.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009059/0.1586, allocations: 0.5542 MB / 0.5655 GB, free: 10.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1586, allocations: 8 kB / 0.5655 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1586, allocations: 4 kB / 0.5655 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/0.1589, allocations: 129.3 kB / 0.5656 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.1592, allocations: 71.84 kB / 0.5657 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/0.1622, allocations: 2.56 MB / 0.5682 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.1624, allocations: 55.62 kB / 0.5683 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.1624, allocations: 16 kB / 0.5683 GB, free: 7.082 MB / 430.1 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.0002584/0.1627, allocations: 212.9 kB / 0.5685 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/0.1628, allocations: 35.77 kB / 0.5685 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.1629, allocations: 47.95 kB / 0.5686 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.1629, allocations: 7.984 kB / 0.5686 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.1629, allocations: 7.922 kB / 0.5686 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1629, allocations: 0 / 0.5686 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.1643, allocations: 0.9461 MB / 0.5695 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.1643, allocations: 0 / 0.5695 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.1644, allocations: 31.98 kB / 0.5695 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/0.1647, allocations: 120.9 kB / 0.5696 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.1648, allocations: 4 kB / 0.5697 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.1675, allocations: 2.548 MB / 0.5721 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1675, allocations: 8.094 kB / 0.5721 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008013/0.1683, allocations: 0.6188 MB / 0.5728 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.1684, allocations: 124.7 kB / 0.5729 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.1685, allocations: 19.88 kB / 0.5729 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.1687, allocations: 8 kB / 0.5729 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.1687, allocations: 23.97 kB / 0.5729 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1687, allocations: 4 kB / 0.5729 GB, free: 2.043 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.169, allocations: 231 kB / 0.5731 GB, free: 1.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.169, allocations: 4 kB / 0.5731 GB, free: 1.816 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006855/0.1697, allocations: 155.8 kB / 0.5733 GB, free: 1.664 MB / 430.1 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.001122/0.1708, allocations: 1.156 MB / 0.5744 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009377/0.1717, allocations: 0.5067 MB / 0.5749 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1717, allocations: 0 / 0.5749 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.1722, allocations: 334.8 kB / 0.5752 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.1728, allocations: 68.8 kB / 0.5753 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005935/0.1787, allocations: 3.999 MB / 0.5792 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.1793, allocations: 0.8785 MB / 0.5801 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000171/0.1795, allocations: 70.91 kB / 0.5801 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.1796, allocations: 115.4 kB / 0.5802 GB, free: 10.23 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1796, allocations: 0 / 0.5802 GB, free: 10.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.2088, allocations: 7.765 MB / 0.5878 GB, free: 2.602 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.06, allocations: 12.05 kB / 0.5878 GB, free: 2.59 MB / 446.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins1/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: 14.398380236001685]