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.001793/0.001793, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002129/0.002129, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.2361/0.2361, allocations: 38.52 MB / 352.5 MB, free: 12.54 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.002043/0.002043, allocations: 71.89 kB / 492.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2897, allocations: 62.46 MB / 0.542 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009035/0.2987, allocations: 7.748 MB / 0.5496 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006025/0.3048, allocations: 4.257 MB / 0.5537 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004353/0.3052, allocations: 16.69 kB / 0.5538 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.308, allocations: 1.071 MB / 0.5548 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.3108, allocations: 1.112 MB / 0.5559 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.3117, allocations: 308.9 kB / 0.5562 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.3136, allocations: 1.365 MB / 0.5575 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007316/0.3144, allocations: 402.1 kB / 0.5579 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.3154, allocations: 0.582 MB / 0.5585 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009488/0.3163, allocations: 0.6462 MB / 0.5591 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.3164, allocations: 32 kB / 0.5591 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.3184, allocations: 1.028 MB / 0.5601 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.3187, allocations: 283.1 kB / 0.5604 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.319, allocations: 246.8 kB / 0.5606 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.3204, allocations: 0.8136 MB / 0.5614 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3204, allocations: 0 / 0.5614 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3204, allocations: 0 / 0.5614 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3204, allocations: 4 kB / 0.5614 GB, free: 0.5898 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.001204/0.3216, allocations: 0.7492 MB / 0.5622 GB, free: 15.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3216, allocations: 11.98 kB / 0.5622 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.657e-05/0.3217, allocations: 82.69 kB / 0.5623 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.3232, allocations: 132.5 kB / 0.5624 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.3238, allocations: 276.8 kB / 0.5626 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.3238, allocations: 37.3 kB / 0.5627 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.3238, allocations: 40.36 kB / 0.5627 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/0.3247, allocations: 0.5867 MB / 0.5633 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3247, allocations: 4 kB / 0.5633 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/0.3247, allocations: 19.98 kB / 0.5633 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/0.3248, allocations: 32.64 kB / 0.5633 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006132/0.3254, allocations: 386.1 kB / 0.5637 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.3281, allocations: 2.556 MB / 0.5662 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006637/0.3287, allocations: 407.8 kB / 0.5666 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.329, allocations: 186.6 kB / 0.5668 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.329, allocations: 4 kB / 0.5668 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.3291, allocations: 42.48 kB / 0.5668 GB, free: 10.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/0.3291, allocations: 0 / 0.5668 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.00175/0.3308, allocations: 0.6858 MB / 0.5675 GB, free: 10.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.3309, allocations: 106.8 kB / 0.5676 GB, free: 9.945 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.3313, allocations: 320.6 kB / 0.5679 GB, free: 9.625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.3313, allocations: 29.7 kB / 0.5679 GB, free: 9.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.3315, allocations: 256.3 kB / 0.5682 GB, free: 9.336 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.3316, allocations: 119 kB / 0.5683 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.3317, allocations: 90.02 kB / 0.5684 GB, free: 9.125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3319, allocations: 342.9 kB / 0.5687 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.3321, allocations: 132.8 kB / 0.5688 GB, free: 8.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.3324, allocations: 279.4 kB / 0.5691 GB, free: 8.309 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/0.333, allocations: 456.1 kB / 0.5695 GB, free: 7.797 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.333, allocations: 4 kB / 0.5695 GB, free: 7.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009086/0.3339, allocations: 0.5503 MB / 0.5701 GB, free: 7.234 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3339, allocations: 8 kB / 0.5701 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3339, allocations: 8 kB / 0.5701 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000343/0.3343, allocations: 129.2 kB / 0.5702 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.3345, allocations: 71.91 kB / 0.5703 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.3373, allocations: 2.456 MB / 0.5727 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.3375, allocations: 47.62 kB / 0.5727 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.3376, allocations: 20 kB / 0.5727 GB, free: 4.367 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.000235/0.3378, allocations: 197.8 kB / 0.5729 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/0.3379, allocations: 39.77 kB / 0.573 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.928e-05/0.338, allocations: 47.95 kB / 0.573 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.338, allocations: 4 kB / 0.573 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.338, allocations: 7.938 kB / 0.573 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.338, allocations: 0 / 0.573 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.3394, allocations: 0.9179 MB / 0.5739 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3394, allocations: 0 / 0.5739 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.3395, allocations: 39.92 kB / 0.574 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/0.3398, allocations: 108.8 kB / 0.5741 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.3398, allocations: 4 kB / 0.5741 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.3425, allocations: 2.455 MB / 0.5765 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3425, allocations: 0 / 0.5765 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008137/0.3433, allocations: 0.6267 MB / 0.5771 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.3434, allocations: 47.62 kB / 0.5771 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.3435, allocations: 11.94 kB / 0.5771 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.3436, allocations: 8 kB / 0.5771 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.3437, allocations: 27.89 kB / 0.5772 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.3437, allocations: 8 kB / 0.5772 GB, free: 15.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.3439, allocations: 223 kB / 0.5774 GB, free: 15.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3439, allocations: 192 / 0.5774 GB, free: 15.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006646/0.3446, allocations: 159.8 kB / 0.5775 GB, free: 15.22 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.001171/0.3458, allocations: 1.157 MB / 0.5787 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009044/0.3467, allocations: 0.5188 MB / 0.5792 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3467, allocations: 0 / 0.5792 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.3471, allocations: 326.4 kB / 0.5795 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.3477, allocations: 68.44 kB / 0.5796 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/0.3527, allocations: 3.999 MB / 0.5835 GB, free: 8.867 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/0.3533, allocations: 0.8785 MB / 0.5843 GB, free: 7.961 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.3535, allocations: 74.89 kB / 0.5844 GB, free: 7.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.3537, allocations: 111.4 kB / 0.5845 GB, free: 7.781 MB / 430.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3537, allocations: 0 / 0.5845 GB, free: 7.781 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0371/0.3908, allocations: 8.083 MB / 0.5924 GB, free: 15.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.28, allocations: 4 kB / 0.5924 GB, free: 15.82 MB / 446.1 MB " [Timeout remaining time 648] (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.276909289001196]