Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.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.001373/0.001373, allocations: 109.2 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.00164/0.00164, allocations: 219.8 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.54/1.54, allocations: 207.6 MB / 233 MB, free: 9.98 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.07008/0.07008, allocations: 14.4 MB / 299.7 MB, free: 7.418 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.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",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.00243/0.00243, allocations: 71.91 kB / 420.6 MB, free: 39.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.1004, allocations: 52.9 MB / 473.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.006833/0.1072, allocations: 4.192 MB / 477.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00428/0.1115, allocations: 2.485 MB / 480.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004921/0.112, allocations: 7.938 kB / 480.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008825/0.1129, allocations: 238.7 kB / 480.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.116, allocations: 1.135 MB / 481.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.1167, allocations: 255.1 kB / 481.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.1182, allocations: 0.93 MB / 482.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1184, allocations: 33.22 kB / 482.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006638/0.119, allocations: 338.8 kB / 483.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006157/0.1197, allocations: 318.7 kB / 483.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.927e-05/0.1197, allocations: 28 kB / 483.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007196/0.1205, allocations: 275.8 kB / 483.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.815e-05/0.1206, allocations: 79.62 kB / 483.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.1209, allocations: 266.7 kB / 484.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.1222, allocations: 0.7786 MB / 484.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1222, allocations: 0 / 484.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1222, allocations: 3.938 kB / 484.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.1223, allocations: 0 / 484.9 MB, free: 6.902 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002858/0.1251, allocations: 0.9102 MB / 485.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1252, allocations: 12.03 kB / 485.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.1253, allocations: 74.66 kB / 485.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/0.1256, allocations: 76.59 kB / 485.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008785/0.1265, allocations: 361.8 kB / 486.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.1265, allocations: 33.12 kB / 486.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.1266, allocations: 35.98 kB / 486.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.1272, allocations: 356.9 kB / 486.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1272, allocations: 3.938 kB / 486.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.1272, allocations: 16 kB / 486.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.1272, allocations: 12 kB / 486.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.1278, allocations: 294.4 kB / 487 MB, free: 4.648 MB / 350.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.003432/0.1312, allocations: 2.458 MB / 489.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008916/0.1321, allocations: 350.9 kB / 489.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.1323, allocations: 100.8 kB / 489.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.1323, allocations: 4 kB / 489.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.1323, allocations: 42.56 kB / 490 MB, free: 1.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.843e-06/0.1323, allocations: 0 / 490 MB, free: 1.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002269/0.1346, allocations: 0.6464 MB / 490.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.1347, allocations: 55.41 kB / 490.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.1351, allocations: 350.8 kB / 491 MB, free: 332 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.1351, allocations: 33.64 kB / 491 MB, free: 292 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.1353, allocations: 208.5 kB / 491.2 MB, free: 80 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.1355, allocations: 135 kB / 491.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.1356, allocations: 61.66 kB / 491.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1357, allocations: 346.5 kB / 491.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.1359, allocations: 87.97 kB / 491.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.1361, allocations: 136.7 kB / 492 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.1365, allocations: 248 kB / 492.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1365, allocations: 0 / 492.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001037/0.1375, allocations: 445.1 kB / 492.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1376, allocations: 14.44 kB / 492.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1376, allocations: 3.984 kB / 492.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00072/0.1383, allocations: 140.8 kB / 492.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.1386, allocations: 79.89 kB / 492.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/0.1418, allocations: 2.135 MB / 495 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.1421, allocations: 19.88 kB / 495.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.1422, allocations: 12 kB / 495.1 MB, free: 12.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 29 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.1424, allocations: 161.8 kB / 495.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-05/0.1425, allocations: 39.77 kB / 495.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.1435, allocations: 458.8 kB / 495.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1435, allocations: 7.984 kB / 495.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1435, allocations: 3.984 kB / 495.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1435, allocations: 0 / 495.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.1453, allocations: 1.002 MB / 496.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1453, allocations: 0 / 496.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.1455, allocations: 59.97 kB / 496.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006488/0.1462, allocations: 148.6 kB / 496.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.1462, allocations: 11.94 kB / 496.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/0.149, allocations: 2.057 MB / 499 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.149, allocations: 0 / 499 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.15, allocations: 0.513 MB / 499.5 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.1502, allocations: 83.55 kB / 499.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/0.1503, allocations: 8 kB / 499.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.1506, allocations: 11.98 kB / 499.6 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.1506, allocations: 23.95 kB / 499.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1506, allocations: 8 kB / 499.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.1509, allocations: 251.2 kB / 499.9 MB, free: 7.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1509, allocations: 0 / 499.9 MB, free: 7.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005948/0.1515, allocations: 163.8 kB / 0.4883 GB, free: 6.883 MB / 366.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 (24): * Single equations (assignments): 23 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001488/0.153, allocations: 1.092 MB / 0.4894 GB, free: 5.762 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008223/0.1538, allocations: 410.2 kB / 0.4898 GB, free: 5.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1538, allocations: 256 / 0.4898 GB, free: 5.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.1543, allocations: 315 kB / 0.4901 GB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.1548, allocations: 69.3 kB / 0.4901 GB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.1602, allocations: 3.478 MB / 0.4935 GB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.1607, allocations: 0.804 MB / 0.4943 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.1608, allocations: 43.02 kB / 0.4944 GB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.161, allocations: 123.4 kB / 0.4945 GB, free: 388 kB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.161, allocations: 3.938 kB / 0.4945 GB, free: 384 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05114/0.2122, allocations: 11.26 MB / 0.5055 GB, free: 5.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.41, allocations: 4.062 kB / 0.5055 GB, free: 5.117 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.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.307908135000616]