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.001447/0.001447, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001496/0.001496, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.1956/0.1956, allocations: 38.53 MB / 353.2 MB, free: 12.55 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="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.001978/0.001978, allocations: 63.89 kB / 493.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3107, allocations: 62.47 MB / 0.5428 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.012/0.3227, allocations: 7.747 MB / 0.5503 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008566/0.3312, allocations: 4.247 MB / 0.5545 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008783/0.3321, allocations: 15.69 kB / 0.5545 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003872/0.336, allocations: 1.079 MB / 0.5556 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004278/0.3403, allocations: 1.107 MB / 0.5566 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.3416, allocations: 307.7 kB / 0.5569 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003195/0.3448, allocations: 1.369 MB / 0.5583 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.346, allocations: 403.2 kB / 0.5587 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.3479, allocations: 0.5837 MB / 0.5592 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.3496, allocations: 0.6461 MB / 0.5599 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.3497, allocations: 36 kB / 0.5599 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.3526, allocations: 1.017 MB / 0.5609 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006136/0.3532, allocations: 283.1 kB / 0.5612 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004771/0.3537, allocations: 250.8 kB / 0.5614 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.3559, allocations: 0.8136 MB / 0.5622 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3559, allocations: 0 / 0.5622 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3559, allocations: 0 / 0.5622 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3559, allocations: 4 kB / 0.5622 GB, free: 0.5859 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.001927/0.3579, allocations: 0.7391 MB / 0.5629 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001064/0.358, allocations: 15.98 kB / 0.5629 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.277e-05/0.358, allocations: 9.188 kB / 0.5629 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.3582, allocations: 82.7 kB / 0.563 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/0.3615, allocations: 136.5 kB / 0.5631 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008945/0.3624, allocations: 284.7 kB / 0.5634 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.3624, allocations: 29.36 kB / 0.5634 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.449e-05/0.3625, allocations: 44.36 kB / 0.5635 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.364, allocations: 0.5827 MB / 0.5641 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.3641, allocations: 3.984 kB / 0.5641 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.892e-05/0.3642, allocations: 23.97 kB / 0.5641 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.3643, allocations: 36.58 kB / 0.5641 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.3654, allocations: 378.1 kB / 0.5645 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/0.3704, allocations: 2.552 MB / 0.567 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.3719, allocations: 418.5 kB / 0.5674 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/0.3724, allocations: 192.6 kB / 0.5676 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.3724, allocations: 4 kB / 0.5676 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.03e-05/0.3725, allocations: 42.55 kB / 0.5676 GB, free: 10.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 3.577e-06/0.3725, allocations: 0 / 0.5676 GB, free: 10.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.003142/0.3756, allocations: 0.678 MB / 0.5683 GB, free: 10.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.3757, allocations: 110.8 kB / 0.5684 GB, free: 9.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006687/0.3764, allocations: 320.6 kB / 0.5687 GB, free: 9.605 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.3764, allocations: 29.7 kB / 0.5687 GB, free: 9.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.3768, allocations: 252.4 kB / 0.5689 GB, free: 9.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.377, allocations: 123 kB / 0.5691 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.3772, allocations: 86.14 kB / 0.5691 GB, free: 9.109 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002751/0.3775, allocations: 342.8 kB / 0.5695 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.3779, allocations: 128.8 kB / 0.5696 GB, free: 8.641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.3784, allocations: 283.3 kB / 0.5699 GB, free: 8.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.3795, allocations: 460.1 kB / 0.5703 GB, free: 7.777 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.3795, allocations: 11.88 kB / 0.5703 GB, free: 7.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001801/0.3813, allocations: 0.5503 MB / 0.5709 GB, free: 7.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.3814, allocations: 8 kB / 0.5709 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.3814, allocations: 8 kB / 0.5709 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006575/0.3821, allocations: 129 kB / 0.571 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.3825, allocations: 67.91 kB / 0.5711 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005229/0.3877, allocations: 2.459 MB / 0.5735 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.3883, allocations: 47.69 kB / 0.5735 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.3883, allocations: 20 kB / 0.5735 GB, free: 4.352 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.0005122/0.3888, allocations: 193.7 kB / 0.5737 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.389, allocations: 43.75 kB / 0.5737 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.3891, allocations: 47.89 kB / 0.5738 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.3892, allocations: 4 kB / 0.5738 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/0.3892, allocations: 7.938 kB / 0.5738 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3892, allocations: 0 / 0.5738 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.3918, allocations: 0.9219 MB / 0.5747 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3918, allocations: 0 / 0.5747 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.3921, allocations: 35.92 kB / 0.5747 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004878/0.3925, allocations: 112.8 kB / 0.5748 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.3926, allocations: 4 kB / 0.5748 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/0.3976, allocations: 2.452 MB / 0.5772 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3976, allocations: 4.062 kB / 0.5772 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.3991, allocations: 0.6229 MB / 0.5779 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.3993, allocations: 47.58 kB / 0.5779 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.851e-05/0.3994, allocations: 15.92 kB / 0.5779 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.3998, allocations: 11.94 kB / 0.5779 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.3998, allocations: 23.95 kB / 0.578 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.3999, allocations: 4 kB / 0.578 GB, free: 15.58 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004184/0.4003, allocations: 227 kB / 0.5782 GB, free: 15.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4003, allocations: 4 kB / 0.5782 GB, free: 15.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00133/0.4016, allocations: 155.8 kB / 0.5783 GB, free: 15.2 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.002028/0.4037, allocations: 1.153 MB / 0.5794 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.4053, allocations: 0.5149 MB / 0.58 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4053, allocations: 3.938 kB / 0.58 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009091/0.4062, allocations: 322.9 kB / 0.5803 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.4073, allocations: 69.84 kB / 0.5803 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008937/0.4162, allocations: 3.99 MB / 0.5842 GB, free: 8.859 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000821/0.417, allocations: 0.8824 MB / 0.5851 GB, free: 7.949 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002917/0.4173, allocations: 74.89 kB / 0.5852 GB, free: 7.879 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.4176, allocations: 111.4 kB / 0.5853 GB, free: 7.77 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4176, allocations: 0 / 0.5853 GB, free: 7.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.4533, allocations: 8.122 MB / 0.5932 GB, free: 15.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.79, allocations: 3.984 kB / 0.5932 GB, free: 15.78 MB / 446.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 & /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: 15.766097379033454]