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.00134/0.00134, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001532/0.001532, allocations: 212.8 kB / 23.72 MB, free: 4.539 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1834/0.1834, allocations: 38.55 MB / 352.5 MB, free: 12.42 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.002462/0.002462, allocations: 67.89 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.33, allocations: 62.47 MB / 0.542 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.009498/0.3395, allocations: 7.026 MB / 0.5488 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006473/0.346, allocations: 4.115 MB / 0.5528 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003913/0.3464, allocations: 16.72 kB / 0.5529 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.3491, allocations: 1.019 MB / 0.5538 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003032/0.3521, allocations: 1.215 MB / 0.555 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009024/0.3531, allocations: 331.1 kB / 0.5553 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.3548, allocations: 1.393 MB / 0.5567 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008775/0.3557, allocations: 0.5105 MB / 0.5572 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.3569, allocations: 0.6459 MB / 0.5578 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.3579, allocations: 0.7085 MB / 0.5585 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.358, allocations: 64 kB / 0.5586 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.3603, allocations: 1.126 MB / 0.5597 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005437/0.3609, allocations: 482.8 kB / 0.5602 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004663/0.3613, allocations: 374.4 kB / 0.5605 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.3639, allocations: 1.472 MB / 0.5619 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3639, allocations: 3.938 kB / 0.562 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3639, allocations: 0 / 0.562 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3639, allocations: 0 / 0.562 GB, free: 15.75 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.001705/0.3656, allocations: 1.074 MB / 0.563 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3657, allocations: 11.98 kB / 0.563 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/0.3658, allocations: 127.2 kB / 0.5631 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/0.3691, allocations: 399.9 kB / 0.5635 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009973/0.3701, allocations: 429.7 kB / 0.5639 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-05/0.3702, allocations: 54.36 kB / 0.564 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.3703, allocations: 72.36 kB / 0.564 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.3723, allocations: 1.18 MB / 0.5652 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.3723, allocations: 0 / 0.5652 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.232e-05/0.3724, allocations: 31.98 kB / 0.5652 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.3725, allocations: 81.95 kB / 0.5653 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.3745, allocations: 1.233 MB / 0.5665 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006186/0.3807, allocations: 3.225 MB / 0.5697 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.3825, allocations: 0.9757 MB / 0.5706 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000916/0.3834, allocations: 0.5978 MB / 0.5712 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.812e-05/0.3834, allocations: 16.98 kB / 0.5712 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.3835, allocations: 47.56 kB / 0.5713 GB, free: 6.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.975e-06/0.3835, allocations: 0 / 0.5713 GB, free: 6.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.007006/0.3905, allocations: 3.009 MB / 0.5742 GB, free: 2.988 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/0.3906, allocations: 90.11 kB / 0.5743 GB, free: 2.883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/0.3911, allocations: 365.6 kB / 0.5746 GB, free: 2.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.3911, allocations: 41.7 kB / 0.5747 GB, free: 2.473 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.3914, allocations: 320.9 kB / 0.575 GB, free: 2.152 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003601/0.3917, allocations: 333.1 kB / 0.5753 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/0.392, allocations: 158.7 kB / 0.5754 GB, free: 1.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.3922, allocations: 370.8 kB / 0.5758 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007652/0.393, allocations: 465.7 kB / 0.5762 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008703/0.3939, allocations: 0.5696 MB / 0.5768 GB, free: 244 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.3956, allocations: 1.113 MB / 0.5779 GB, free: 15.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3956, allocations: 0 / 0.5779 GB, free: 15.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002742/0.3984, allocations: 1.466 MB / 0.5793 GB, free: 13.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3984, allocations: 4 kB / 0.5793 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3984, allocations: 7.984 kB / 0.5793 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.3994, allocations: 341.6 kB / 0.5797 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007923/0.4002, allocations: 179.7 kB / 0.5798 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005983/0.4062, allocations: 3.91 MB / 0.5836 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000576/0.4068, allocations: 47.94 kB / 0.5837 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.872e-05/0.4069, allocations: 43.92 kB / 0.5837 GB, free: 8.984 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.0004788/0.4073, allocations: 293.7 kB / 0.584 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.4075, allocations: 59.62 kB / 0.5841 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.4105, allocations: 1.551 MB / 0.5856 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.4105, allocations: 12 kB / 0.5856 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.4105, allocations: 7.984 kB / 0.5856 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4105, allocations: 7.984 kB / 0.5856 GB, free: 7.035 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.005642/0.4161, allocations: 2.778 MB / 0.5883 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/0.4161, allocations: 8 kB / 0.5883 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006797/0.4168, allocations: 167.7 kB / 0.5885 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008726/0.4177, allocations: 284.8 kB / 0.5888 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.309e-05/0.4178, allocations: 27.98 kB / 0.5888 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005795/0.4236, allocations: 3.707 MB / 0.5924 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.4236, allocations: 4 kB / 0.5924 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.4266, allocations: 1.587 MB / 0.594 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/0.4268, allocations: 75.56 kB / 0.594 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.441e-05/0.4269, allocations: 23.94 kB / 0.5941 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/0.4273, allocations: 39.95 kB / 0.5941 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.4275, allocations: 88.78 kB / 0.5942 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.287e-05/0.4276, allocations: 31.94 kB / 0.5942 GB, free: 13.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003355/0.4279, allocations: 263.1 kB / 0.5945 GB, free: 13.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4279, allocations: 0 / 0.5945 GB, free: 13.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009716/0.4289, allocations: 304 kB / 0.5947 GB, free: 13.39 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.003055/0.432, allocations: 2.147 MB / 0.5968 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002329/0.4343, allocations: 1.342 MB / 0.5982 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4343, allocations: 0 / 0.5982 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.4356, allocations: 0.8008 MB / 0.5989 GB, free: 9.008 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007995/0.4364, allocations: 108.9 kB / 0.599 GB, free: 8.902 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.4488, allocations: 7.534 MB / 0.6064 GB, free: 1.121 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/0.4495, allocations: 476.8 kB / 0.6069 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004965/0.4499, allocations: 180.6 kB / 0.607 GB, free: 468 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/0.4504, allocations: 259.3 kB / 0.6073 GB, free: 212 kB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4504, allocations: 4 kB / 0.6073 GB, free: 208 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06016/0.5106, allocations: 17.85 MB / 0.6247 GB, free: 14.51 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.77, allocations: 0 / 0.6247 GB, free: 14.51 MB / 478.1 MB " [Timeout remaining time 647] (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: 15.843564302660525]