Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.00137/0.00137, 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.00171/0.00171, allocations: 202.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.051 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.1929/0.1929, allocations: 38.53 MB / 353.2 MB, free: 12.64 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,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",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.001954/0.001954, allocations: 67.89 kB / 493.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3074, allocations: 62.46 MB / 0.5428 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.00911/0.3165, allocations: 7.607 MB / 0.5502 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006734/0.3233, allocations: 4.49 MB / 0.5546 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004189/0.3237, allocations: 21.16 kB / 0.5546 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002683/0.3264, allocations: 1.079 MB / 0.5557 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.3293, allocations: 1.205 MB / 0.5568 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009122/0.3302, allocations: 318.5 kB / 0.5571 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002102/0.3323, allocations: 1.403 MB / 0.5585 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009621/0.3332, allocations: 0.5257 MB / 0.559 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.3345, allocations: 0.6282 MB / 0.5596 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.3356, allocations: 0.7398 MB / 0.5604 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.3357, allocations: 64 kB / 0.5604 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.3382, allocations: 1.379 MB / 0.5618 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005352/0.3387, allocations: 482.7 kB / 0.5622 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005914/0.3393, allocations: 445.9 kB / 0.5626 GB, free: 120 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.3415, allocations: 1.464 MB / 0.5641 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3415, allocations: 0 / 0.5641 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3415, allocations: 0 / 0.5641 GB, free: 14.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.3416, allocations: 0 / 0.5641 GB, free: 14.65 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.001765/0.3433, allocations: 1.08 MB / 0.5651 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3434, allocations: 15.98 kB / 0.5651 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.082e-05/0.3434, allocations: 18.19 kB / 0.5652 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.3436, allocations: 135.1 kB / 0.5653 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/0.3468, allocations: 387.9 kB / 0.5657 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009435/0.3478, allocations: 437.7 kB / 0.5661 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.3478, allocations: 58.34 kB / 0.5661 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.348, allocations: 76.34 kB / 0.5662 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.35, allocations: 1.172 MB / 0.5674 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.35, allocations: 11.94 kB / 0.5674 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-05/0.3501, allocations: 27.98 kB / 0.5674 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.3502, allocations: 73.95 kB / 0.5675 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.3522, allocations: 1.237 MB / 0.5687 GB, free: 9.848 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005818/0.358, allocations: 3.416 MB / 0.572 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.3597, allocations: 0.9874 MB / 0.573 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008887/0.3606, allocations: 0.5939 MB / 0.5735 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.236e-05/0.3607, allocations: 16.98 kB / 0.5736 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.3607, allocations: 43.5 kB / 0.5736 GB, free: 4.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.875e-06/0.3607, allocations: 4 kB / 0.5736 GB, free: 4.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006948/0.3676, allocations: 3.013 MB / 0.5766 GB, free: 1.645 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.3677, allocations: 90.11 kB / 0.5766 GB, free: 1.539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.3682, allocations: 365.6 kB / 0.577 GB, free: 1.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/0.3682, allocations: 41.7 kB / 0.577 GB, free: 1.129 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.3685, allocations: 317 kB / 0.5773 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.3688, allocations: 333.1 kB / 0.5776 GB, free: 496 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/0.369, allocations: 162.6 kB / 0.5778 GB, free: 328 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3692, allocations: 366.8 kB / 0.5782 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007356/0.37, allocations: 465.7 kB / 0.5786 GB, free: 15.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.3708, allocations: 0.5734 MB / 0.5792 GB, free: 14.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.3724, allocations: 1.113 MB / 0.5802 GB, free: 13.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3724, allocations: 0 / 0.5802 GB, free: 13.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002684/0.3751, allocations: 1.466 MB / 0.5817 GB, free: 12.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.3752, allocations: 10.97 kB / 0.5817 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3752, allocations: 4 kB / 0.5817 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009735/0.3761, allocations: 337.7 kB / 0.582 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/0.3769, allocations: 183.7 kB / 0.5822 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/0.383, allocations: 4.081 MB / 0.5862 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006259/0.3836, allocations: 43.95 kB / 0.5862 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.322e-05/0.3837, allocations: 35.98 kB / 0.5862 GB, free: 7.457 MB / 430.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.0005055/0.3842, allocations: 305.5 kB / 0.5865 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.3843, allocations: 55.67 kB / 0.5866 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/0.3872, allocations: 1.547 MB / 0.5881 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.3872, allocations: 12 kB / 0.5881 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3872, allocations: 8 kB / 0.5881 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.3872, allocations: 3.984 kB / 0.5881 GB, free: 5.508 MB / 430.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.005476/0.3927, allocations: 2.995 MB / 0.5911 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.3927, allocations: 4 kB / 0.5911 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006722/0.3934, allocations: 163.8 kB / 0.5912 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008536/0.3942, allocations: 288.6 kB / 0.5915 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.949e-05/0.3943, allocations: 27.98 kB / 0.5915 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005436/0.3998, allocations: 3.8 MB / 0.5952 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.3998, allocations: 11.88 kB / 0.5952 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.4024, allocations: 1.583 MB / 0.5968 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.4026, allocations: 71.55 kB / 0.5968 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.4027, allocations: 31.92 kB / 0.5969 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004603/0.4031, allocations: 39.97 kB / 0.5969 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.4033, allocations: 92.66 kB / 0.597 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/0.4034, allocations: 39.98 kB / 0.597 GB, free: 12.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003036/0.4037, allocations: 259.1 kB / 0.5973 GB, free: 11.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4037, allocations: 0 / 0.5973 GB, free: 11.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009589/0.4046, allocations: 308 kB / 0.5976 GB, free: 11.5 MB / 446.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.002848/0.4075, allocations: 2.141 MB / 0.5997 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002212/0.4097, allocations: 1.342 MB / 0.601 GB, free: 7.938 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4097, allocations: 0.5625 kB / 0.601 GB, free: 7.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.4109, allocations: 0.792 MB / 0.6018 GB, free: 7.129 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/0.4116, allocations: 110 kB / 0.6019 GB, free: 7.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.423, allocations: 7.542 MB / 0.6092 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008379/0.4238, allocations: 1.072 MB / 0.6103 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004541/0.4243, allocations: 180.6 kB / 0.6104 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/0.4247, allocations: 263.3 kB / 0.6107 GB, free: 13.71 MB / 462.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4247, allocations: 0 / 0.6107 GB, free: 13.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04903/0.4738, allocations: 17.7 MB / 0.628 GB, free: 12.13 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.28, allocations: 14.39 kB / 0.628 GB, free: 12.12 MB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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: 16.402318887994625]