Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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.001867/0.001867, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002575/0.002575, allocations: 220.1 kB / 22.26 MB, free: 5.125 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.513/1.513, allocations: 207.6 MB / 233 MB, free: 9.973 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.1049/0.1049, allocations: 14.39 MB / 299.7 MB, free: 7.434 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.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",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.002237/0.002237, allocations: 73.92 kB / 420.6 MB, free: 39.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07451/0.07675, allocations: 52.9 MB / 473.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.008725/0.08547, allocations: 7.33 MB / 480.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005914/0.09139, allocations: 3.564 MB / 484.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009962/0.09238, allocations: 23.88 kB / 484.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.09383, allocations: 421.6 kB / 484.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004242/0.09807, allocations: 1.602 MB / 486.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.09945, allocations: 0.6032 MB / 487.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002551/0.102, allocations: 1.844 MB / 488.9 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.1022, allocations: 74.42 kB / 489 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.1034, allocations: 0.6382 MB / 489.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.1045, allocations: 0.642 MB / 490.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.1047, allocations: 60 kB / 490.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.1058, allocations: 431.7 kB / 490.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.1059, allocations: 159.2 kB / 490.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007639/0.1067, allocations: 0.5403 MB / 491.4 MB, free: 304 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.109, allocations: 1.518 MB / 493 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.109, allocations: 4 kB / 493 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.109, allocations: 0 / 493 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.109, allocations: 0 / 493 MB, free: 14.77 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005535/0.1146, allocations: 1.689 MB / 494.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.1146, allocations: 8.031 kB / 494.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/0.1148, allocations: 126.8 kB / 494.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006619/0.1154, allocations: 152.2 kB / 494.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.1168, allocations: 0.6245 MB / 495.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.1169, allocations: 58.12 kB / 495.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.117, allocations: 72 kB / 495.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.1182, allocations: 0.7693 MB / 496.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.1182, allocations: 3.938 kB / 496.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.1183, allocations: 28 kB / 496.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.1183, allocations: 16 kB / 496.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.1197, allocations: 0.7065 MB / 497.2 MB, free: 10.41 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.007063/0.1267, allocations: 5.031 MB / 0.4905 GB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.1284, allocations: 0.7535 MB / 0.4912 GB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.1289, allocations: 262.7 kB / 0.4914 GB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.366e-05/0.129, allocations: 12.59 kB / 0.4915 GB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.129, allocations: 47.2 kB / 0.4915 GB, free: 3.777 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.425e-06/0.129, allocations: 0 / 0.4915 GB, free: 3.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003162/0.1322, allocations: 1.158 MB / 0.4926 GB, free: 2.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.1323, allocations: 64 kB / 0.4927 GB, free: 2.535 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009565/0.1332, allocations: 0.55 MB / 0.4932 GB, free: 1.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.523e-05/0.1333, allocations: 37.7 kB / 0.4933 GB, free: 1.934 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/0.1337, allocations: 372.7 kB / 0.4936 GB, free: 1.562 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.134, allocations: 281.5 kB / 0.4939 GB, free: 1.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.1342, allocations: 138.6 kB / 0.494 GB, free: 1.145 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.1344, allocations: 370.8 kB / 0.4944 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.1349, allocations: 217.9 kB / 0.4946 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/0.1354, allocations: 336.3 kB / 0.4949 GB, free: 200 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000996/0.1364, allocations: 0.5898 MB / 0.4955 GB, free: 15.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1364, allocations: 0 / 0.4955 GB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001697/0.1381, allocations: 0.8567 MB / 0.4963 GB, free: 14.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1381, allocations: 8 kB / 0.4963 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.1381, allocations: 4 kB / 0.4963 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/0.1387, allocations: 188.4 kB / 0.4965 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.1395, allocations: 191.7 kB / 0.4967 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/0.1429, allocations: 2.437 MB / 0.4991 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/0.1436, allocations: 47.73 kB / 0.4991 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.1437, allocations: 28 kB / 0.4991 GB, free: 11.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003678/0.1441, allocations: 226.3 kB / 0.4994 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.1443, allocations: 79.56 kB / 0.4994 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.1458, allocations: 0.7945 MB / 0.5002 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.1458, allocations: 7.984 kB / 0.5002 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1458, allocations: 4 kB / 0.5002 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1458, allocations: 3.984 kB / 0.5002 GB, free: 10.57 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.002906/0.1487, allocations: 1.818 MB / 0.502 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1487, allocations: 0 / 0.502 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/0.1494, allocations: 167.8 kB / 0.5022 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004965/0.1499, allocations: 176.2 kB / 0.5023 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.15, allocations: 16 kB / 0.5023 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003207/0.1532, allocations: 2.415 MB / 0.5047 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.1532, allocations: 4 kB / 0.5047 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.1546, allocations: 0.863 MB / 0.5056 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.155, allocations: 147.4 kB / 0.5057 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.1551, allocations: 8 kB / 0.5057 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005496/0.1557, allocations: 23.98 kB / 0.5057 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1558, allocations: 60.48 kB / 0.5058 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.1558, allocations: 16 kB / 0.5058 GB, free: 4.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005133/0.1563, allocations: 390.8 kB / 0.5062 GB, free: 4.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1563, allocations: 0 / 0.5062 GB, free: 4.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008579/0.1572, allocations: 307.8 kB / 0.5065 GB, free: 3.973 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (63): * Single equations (assignments): 62 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001882/0.1591, allocations: 1.473 MB / 0.5079 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.1605, allocations: 0.7758 MB / 0.5087 GB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1605, allocations: 0 / 0.5087 GB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000818/0.1614, allocations: 0.4942 MB / 0.5091 GB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/0.162, allocations: 112.4 kB / 0.5092 GB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009015/0.171, allocations: 5.826 MB / 0.5149 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.1716, allocations: 0.9388 MB / 0.5159 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003868/0.172, allocations: 97.3 kB / 0.5159 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/0.1724, allocations: 271.3 kB / 0.5162 GB, free: 9.762 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1724, allocations: 0 / 0.5162 GB, free: 9.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2246/0.397, allocations: 18.19 MB / 0.534 GB, free: 60.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.31, allocations: 6 kB / 0.534 GB, free: 60.9 MB / 398.1 MB " [Timeout remaining time 647] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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.106986492173746]