Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.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.001803/0.001803, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002217/0.002217, allocations: 214.7 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 207.7 MB / 233.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07546/0.07546, allocations: 14.39 MB / 299.7 MB, free: 7.254 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Electrical.Test.LoadImpedancePQ,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.LoadImpedancePQ,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003245/0.003245, allocations: 75.89 kB / 420.6 MB, free: 39.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08722/0.09047, allocations: 52.89 MB / 473.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.01176/0.1022, allocations: 8.783 MB / 482.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00788/0.1101, allocations: 4.103 MB / 486.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.1115, allocations: 31.81 kB / 486.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.1131, allocations: 0.5009 MB / 486.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005767/0.1188, allocations: 1.96 MB / 488.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.1201, allocations: 378.5 kB / 489.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004608/0.1247, allocations: 2.86 MB / 492.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004578/0.1252, allocations: 104.5 kB / 492.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.1273, allocations: 0.9886 MB / 493.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/0.1295, allocations: 0.8751 MB / 494.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004755/0.13, allocations: 92 kB / 494.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.132, allocations: 427.7 kB / 494.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006216/0.1326, allocations: 246.8 kB / 494.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.1345, allocations: 0.6842 MB / 495.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003501/0.138, allocations: 2.125 MB / 497.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1381, allocations: 0 / 497.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1381, allocations: 7.938 kB / 497.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.763e-05/0.1381, allocations: 0 / 497.7 MB, free: 9.852 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.008995/0.1471, allocations: 2.538 MB / 0.4885 GB, free: 7.273 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1471, allocations: 12.03 kB / 0.4885 GB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002055/0.1473, allocations: 160.9 kB / 0.4886 GB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009736/0.1483, allocations: 235.8 kB / 0.4889 GB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.1503, allocations: 0.9081 MB / 0.4898 GB, free: 5.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/0.1504, allocations: 82.12 kB / 0.4898 GB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.1505, allocations: 100 kB / 0.4899 GB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.1523, allocations: 1.066 MB / 0.491 GB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.1523, allocations: 0 / 0.491 GB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/0.1524, allocations: 40 kB / 0.491 GB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.1525, allocations: 32 kB / 0.491 GB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.1542, allocations: 1.007 MB / 0.492 GB, free: 3.535 MB / 366.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 preOpt removeSimpleEquations (simulation): time 0.007041/0.1613, allocations: 3.447 MB / 0.4954 GB, free: 0 / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.1637, allocations: 1.084 MB / 0.4964 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006342/0.1643, allocations: 363.7 kB / 0.4968 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.178e-05/0.1644, allocations: 15.98 kB / 0.4968 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.1645, allocations: 46.5 kB / 0.4969 GB, free: 14.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 2.685e-06/0.1645, allocations: 0 / 0.4969 GB, free: 14.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.003515/0.168, allocations: 1.462 MB / 0.4983 GB, free: 12.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.1681, allocations: 114.8 kB / 0.4984 GB, free: 12.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.1692, allocations: 0.7825 MB / 0.4992 GB, free: 12.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/0.1693, allocations: 45.7 kB / 0.4992 GB, free: 12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004351/0.1698, allocations: 0.4933 MB / 0.4997 GB, free: 11.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004963/0.1703, allocations: 420.3 kB / 0.5001 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/0.1706, allocations: 182.9 kB / 0.5003 GB, free: 10.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1707, allocations: 349.9 kB / 0.5006 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/0.1714, allocations: 318.4 kB / 0.5009 GB, free: 10.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007225/0.1721, allocations: 487.5 kB / 0.5014 GB, free: 9.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.1735, allocations: 0.866 MB / 0.5022 GB, free: 8.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1735, allocations: 0 / 0.5022 GB, free: 8.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002409/0.1759, allocations: 1.154 MB / 0.5033 GB, free: 7.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.1759, allocations: 9.562 kB / 0.5033 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.1759, allocations: 7.984 kB / 0.5033 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005966/0.1765, allocations: 158.8 kB / 0.5035 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.1778, allocations: 311.6 kB / 0.5038 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00458/0.1824, allocations: 4.454 MB / 0.5081 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.1837, allocations: 75.73 kB / 0.5082 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.188e-05/0.1838, allocations: 40 kB / 0.5083 GB, free: 2.234 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005691/0.1843, allocations: 289.4 kB / 0.5085 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.1846, allocations: 119.2 kB / 0.5086 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.1869, allocations: 1.128 MB / 0.5097 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.187, allocations: 12 kB / 0.5098 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.187, allocations: 4 kB / 0.5098 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.187, allocations: 3.984 kB / 0.5098 GB, free: 0.6562 MB / 382.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.004154/0.1911, allocations: 2.307 MB / 0.512 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.1911, allocations: 3.938 kB / 0.512 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.1923, allocations: 263.7 kB / 0.5123 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005099/0.1928, allocations: 158.4 kB / 0.5124 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/0.1929, allocations: 20 kB / 0.5124 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004567/0.1974, allocations: 4.449 MB / 0.5168 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.1975, allocations: 3.938 kB / 0.5168 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/0.2001, allocations: 1.311 MB / 0.5181 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000742/0.2008, allocations: 234.9 kB / 0.5183 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.201, allocations: 19.98 kB / 0.5183 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008702/0.2018, allocations: 48 kB / 0.5184 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.202, allocations: 75.8 kB / 0.5184 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/0.2021, allocations: 35.92 kB / 0.5185 GB, free: 7.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007913/0.2029, allocations: 0.5303 MB / 0.519 GB, free: 6.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2029, allocations: 0 / 0.519 GB, free: 6.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001288/0.2041, allocations: 419.6 kB / 0.5194 GB, free: 6.367 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00273/0.2069, allocations: 1.94 MB / 0.5213 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.2093, allocations: 1.215 MB / 0.5225 GB, free: 3.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2093, allocations: 0 / 0.5225 GB, free: 3.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.2108, allocations: 0.8212 MB / 0.5233 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.2125, allocations: 176.3 kB / 0.5234 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.198/0.4105, allocations: 8.191 MB / 0.5314 GB, free: 57.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.4112, allocations: 494.1 kB / 0.5319 GB, free: 57.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006573/0.4119, allocations: 138.8 kB / 0.532 GB, free: 57.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006044/0.4125, allocations: 427.2 kB / 0.5324 GB, free: 57.2 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4125, allocations: 3.969 kB / 0.5324 GB, free: 57.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0884/0.5009, allocations: 25.91 MB / 0.5578 GB, free: 39.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.81, allocations: 0 / 0.5578 GB, free: 39.77 MB / 398.1 MB " [Timeout remaining time 647] (rm -f PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ.fmu > PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.LoadImpedancePQ_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.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.69375576497987]