Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001327/0.001327, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001586/0.001586, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.597/1.597, 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.2198/0.2198, 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_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.002279/0.002279, allocations: 63.89 kB / 493.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3281, allocations: 62.47 MB / 0.5428 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.009984/0.338, allocations: 7.613 MB / 0.5502 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008463/0.3465, allocations: 4.49 MB / 0.5546 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006517/0.3471, allocations: 20.66 kB / 0.5546 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002989/0.3501, allocations: 1.063 MB / 0.5557 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003941/0.3541, allocations: 1.21 MB / 0.5568 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.3556, allocations: 331.4 kB / 0.5572 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.3579, allocations: 1.401 MB / 0.5585 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.359, allocations: 0.5186 MB / 0.559 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.3605, allocations: 0.6283 MB / 0.5596 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.3618, allocations: 0.7437 MB / 0.5604 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.3619, allocations: 64 kB / 0.5604 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.3647, allocations: 1.376 MB / 0.5618 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005973/0.3653, allocations: 490.7 kB / 0.5622 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007109/0.366, allocations: 445.9 kB / 0.5627 GB, free: 132 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002819/0.3689, allocations: 1.456 MB / 0.5641 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3689, allocations: 0 / 0.5641 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3689, allocations: 0 / 0.5641 GB, free: 14.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.22e-05/0.3689, allocations: 4 kB / 0.5641 GB, free: 14.66 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.002066/0.371, allocations: 1.078 MB / 0.5651 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.371, allocations: 15.98 kB / 0.5652 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.596e-05/0.371, allocations: 22.19 kB / 0.5652 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.3712, allocations: 135.2 kB / 0.5653 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003527/0.3747, allocations: 391.9 kB / 0.5657 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.3758, allocations: 437.7 kB / 0.5661 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.263e-05/0.3759, allocations: 54.36 kB / 0.5662 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.3761, allocations: 68.38 kB / 0.5662 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.3785, allocations: 1.179 MB / 0.5674 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.61e-05/0.3786, allocations: 4 kB / 0.5674 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.3787, allocations: 27.98 kB / 0.5674 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/0.3789, allocations: 73.95 kB / 0.5675 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.381, allocations: 1.237 MB / 0.5687 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006663/0.3877, allocations: 3.427 MB / 0.572 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.3896, allocations: 0.9872 MB / 0.573 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.3906, allocations: 0.5901 MB / 0.5736 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.222e-05/0.3907, allocations: 20.97 kB / 0.5736 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.3907, allocations: 51.78 kB / 0.5736 GB, free: 4.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.065e-06/0.3907, allocations: 0 / 0.5736 GB, free: 4.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.007675/0.3984, allocations: 2.994 MB / 0.5766 GB, free: 1.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.3985, allocations: 94.05 kB / 0.5767 GB, free: 1.559 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.399, allocations: 369.5 kB / 0.577 GB, free: 1.191 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.3991, allocations: 41.73 kB / 0.577 GB, free: 1.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.3993, allocations: 328.9 kB / 0.5774 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000348/0.3997, allocations: 337.1 kB / 0.5777 GB, free: 496 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/0.4, allocations: 154.6 kB / 0.5778 GB, free: 336 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.4002, allocations: 366.8 kB / 0.5782 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007967/0.401, allocations: 469.7 kB / 0.5786 GB, free: 15.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009212/0.4019, allocations: 0.5696 MB / 0.5792 GB, free: 14.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.4037, allocations: 1.113 MB / 0.5803 GB, free: 13.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4037, allocations: 0 / 0.5803 GB, free: 13.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002902/0.4066, allocations: 1.462 MB / 0.5817 GB, free: 12.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.4066, allocations: 8.188 kB / 0.5817 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.4066, allocations: 4 kB / 0.5817 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.4077, allocations: 337.5 kB / 0.582 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/0.4084, allocations: 183.7 kB / 0.5822 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006386/0.4148, allocations: 4.075 MB / 0.5862 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/0.4154, allocations: 52.02 kB / 0.5862 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.4156, allocations: 39.97 kB / 0.5863 GB, free: 7.465 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.0005898/0.4161, allocations: 293.5 kB / 0.5866 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.4163, allocations: 59.62 kB / 0.5866 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/0.4194, allocations: 1.547 MB / 0.5881 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.4194, allocations: 15.98 kB / 0.5881 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.4194, allocations: 4 kB / 0.5881 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.4194, allocations: 7.969 kB / 0.5881 GB, free: 5.52 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.005974/0.4254, allocations: 2.991 MB / 0.5911 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.4254, allocations: 4 kB / 0.5911 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/0.4261, allocations: 167.8 kB / 0.5912 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000869/0.4269, allocations: 281 kB / 0.5915 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.912e-05/0.427, allocations: 27.98 kB / 0.5915 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006216/0.4332, allocations: 3.808 MB / 0.5952 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.4332, allocations: 7.938 kB / 0.5953 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.436, allocations: 1.583 MB / 0.5968 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.4362, allocations: 71.55 kB / 0.5969 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.4364, allocations: 31.92 kB / 0.5969 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.4369, allocations: 43.84 kB / 0.5969 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.4371, allocations: 88.78 kB / 0.597 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/0.4371, allocations: 35.98 kB / 0.5971 GB, free: 12.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003814/0.4375, allocations: 255.2 kB / 0.5973 GB, free: 11.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4375, allocations: 0 / 0.5973 GB, free: 11.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001194/0.4387, allocations: 308 kB / 0.5976 GB, free: 11.53 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.003812/0.4425, allocations: 2.149 MB / 0.5997 GB, free: 9.305 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002867/0.4454, allocations: 1.346 MB / 0.601 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.4454, allocations: 0 / 0.601 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.4471, allocations: 0.7931 MB / 0.6018 GB, free: 7.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.4483, allocations: 109.1 kB / 0.6019 GB, free: 7.039 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.4613, allocations: 7.542 MB / 0.6093 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.4625, allocations: 1.072 MB / 0.6103 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005398/0.463, allocations: 180.6 kB / 0.6105 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/0.4636, allocations: 263.3 kB / 0.6107 GB, free: 13.72 MB / 462.1 MB Notification: Performance of SimCode: time 1.894e-06/0.4636, allocations: 0 / 0.6107 GB, free: 13.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05221/0.5158, allocations: 17.7 MB / 0.628 GB, free: 12.15 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.43, allocations: 15.33 kB / 0.628 GB, free: 12.14 MB / 478.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.722796768997796]