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.001835/0.001835, allocations: 111.1 kB / 20.44 MB, free: 1.348 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.002276/0.002276, allocations: 210.4 kB / 23.73 MB, free: 4.527 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1877/0.1877, allocations: 38.55 MB / 352.5 MB, free: 12.31 MB / 286.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="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: 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.002263/0.002263, allocations: 64.09 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3296, allocations: 62.46 MB / 0.5419 GB, free: 128 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009587/0.3392, allocations: 7.18 MB / 0.549 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006231/0.3455, allocations: 3.898 MB / 0.5528 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005099/0.346, allocations: 17.09 kB / 0.5528 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.3486, allocations: 1.016 MB / 0.5538 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.3514, allocations: 1.112 MB / 0.5549 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.3523, allocations: 308.7 kB / 0.5552 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.354, allocations: 1.365 MB / 0.5565 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007101/0.3547, allocations: 394.3 kB / 0.5569 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.3558, allocations: 0.5889 MB / 0.5574 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.3568, allocations: 0.6266 MB / 0.5581 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.183e-05/0.3569, allocations: 36 kB / 0.5581 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.3586, allocations: 0.7787 MB / 0.5588 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003292/0.359, allocations: 291.1 kB / 0.5591 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.3592, allocations: 211.1 kB / 0.5593 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.3604, allocations: 0.8097 MB / 0.5601 GB, free: 1.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3604, allocations: 0 / 0.5601 GB, free: 1.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3604, allocations: 0 / 0.5601 GB, free: 1.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3604, allocations: 0 / 0.5601 GB, free: 1.492 MB / 398.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.001174/0.3616, allocations: 0.7469 MB / 0.5608 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3617, allocations: 11.98 kB / 0.5609 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.478e-05/0.3618, allocations: 82.66 kB / 0.5609 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.3632, allocations: 140.5 kB / 0.5611 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.3638, allocations: 280.7 kB / 0.5613 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.3638, allocations: 33.36 kB / 0.5614 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.3639, allocations: 36.36 kB / 0.5614 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008833/0.3647, allocations: 0.5867 MB / 0.562 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3648, allocations: 3.938 kB / 0.562 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.3648, allocations: 27.98 kB / 0.562 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-05/0.3649, allocations: 32.62 kB / 0.562 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005777/0.3654, allocations: 386.1 kB / 0.5624 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.3681, allocations: 2.466 MB / 0.5648 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/0.3688, allocations: 417.1 kB / 0.5652 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.3691, allocations: 192.6 kB / 0.5654 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.3691, allocations: 4 kB / 0.5654 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3691, allocations: 38.56 kB / 0.5654 GB, free: 11.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.3691, allocations: 0 / 0.5654 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001667/0.3708, allocations: 0.6817 MB / 0.5661 GB, free: 11.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.3709, allocations: 110.8 kB / 0.5662 GB, free: 10.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.3712, allocations: 332.5 kB / 0.5665 GB, free: 10.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3713, allocations: 29.95 kB / 0.5666 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.3715, allocations: 252.4 kB / 0.5668 GB, free: 10.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.3716, allocations: 130.9 kB / 0.5669 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.3717, allocations: 86.09 kB / 0.567 GB, free: 10.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3719, allocations: 342.8 kB / 0.5673 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.3721, allocations: 128.8 kB / 0.5675 GB, free: 9.617 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.3725, allocations: 279.5 kB / 0.5677 GB, free: 9.273 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.373, allocations: 456.1 kB / 0.5682 GB, free: 8.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.373, allocations: 0 / 0.5682 GB, free: 8.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009025/0.3739, allocations: 0.5542 MB / 0.5687 GB, free: 8.199 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.374, allocations: 11.98 kB / 0.5687 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.374, allocations: 4 kB / 0.5687 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000345/0.3743, allocations: 128.7 kB / 0.5688 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.3746, allocations: 75.84 kB / 0.5689 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.3774, allocations: 2.383 MB / 0.5712 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.3776, allocations: 47.69 kB / 0.5713 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.3776, allocations: 12 kB / 0.5713 GB, free: 5.426 MB / 414.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.0002274/0.3779, allocations: 205.6 kB / 0.5715 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.3779, allocations: 35.77 kB / 0.5715 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.839e-05/0.378, allocations: 47.95 kB / 0.5716 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.378, allocations: 4 kB / 0.5716 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.378, allocations: 3.938 kB / 0.5716 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.378, allocations: 8.047 kB / 0.5716 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.3794, allocations: 0.8828 MB / 0.5724 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3794, allocations: 0 / 0.5724 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.3796, allocations: 35.98 kB / 0.5725 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002884/0.3799, allocations: 108.9 kB / 0.5726 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.3799, allocations: 11.98 kB / 0.5726 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002765/0.3827, allocations: 2.371 MB / 0.5749 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.3827, allocations: 11.98 kB / 0.5749 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008381/0.3835, allocations: 0.6188 MB / 0.5755 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.3836, allocations: 43.69 kB / 0.5756 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.3837, allocations: 11.94 kB / 0.5756 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.3839, allocations: 4 kB / 0.5756 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.3839, allocations: 31.89 kB / 0.5756 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3839, allocations: 8 kB / 0.5756 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002431/0.3842, allocations: 227 kB / 0.5758 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3842, allocations: 0 / 0.5758 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006693/0.3849, allocations: 159.8 kB / 0.576 GB, free: 408 kB / 414.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.00117/0.386, allocations: 1.152 MB / 0.5771 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000948/0.387, allocations: 0.5112 MB / 0.5776 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.387, allocations: 0 / 0.5776 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005001/0.3875, allocations: 334.6 kB / 0.5779 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.388, allocations: 68.62 kB / 0.578 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005854/0.3939, allocations: 3.994 MB / 0.5819 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.3943, allocations: 284.5 kB / 0.5822 GB, free: 9.746 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000197/0.3945, allocations: 70.91 kB / 0.5822 GB, free: 9.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.3946, allocations: 115.4 kB / 0.5823 GB, free: 9.566 MB / 430.1 MB Notification: Performance of SimCode: time 1.823e-06/0.3946, allocations: 0 / 0.5823 GB, free: 9.566 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/0.4335, allocations: 8.334 MB / 0.5905 GB, free: 1.379 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.53, allocations: 2.578 kB / 0.5905 GB, free: 1.379 MB / 430.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv failed! Error: Could not read variable impedance3.i[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv. Warning: Get data of variable impedance3.i[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv failed! Error: Could not read variable impedance3.p[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv. Warning: Get data of variable impedance3.p[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv failed! Error: Could not read variable impedance3.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv. Warning: Get data of variable impedance3.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.504353010095656]