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.001803/0.001803, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002478/0.002478, allocations: 220.6 kB / 23.04 MB, free: 5.074 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.859/1.859, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.06768/0.06768, allocations: 14.39 MB / 300.5 MB, free: 7.527 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",fmuType="cs",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.00219/0.00219, allocations: 63.89 kB / 421.4 MB, free: 39.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1171, allocations: 52.9 MB / 474.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.005943/0.123, allocations: 4.187 MB / 478.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004285/0.1273, allocations: 2.481 MB / 481 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003208/0.1276, allocations: 11.94 kB / 481 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007964/0.1284, allocations: 242.6 kB / 481.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.1312, allocations: 1.12 MB / 482.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.1317, allocations: 259.1 kB / 482.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.1332, allocations: 0.93 MB / 483.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.1333, allocations: 49.19 kB / 483.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005321/0.1339, allocations: 338.8 kB / 483.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.1343, allocations: 306.8 kB / 484.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.1344, allocations: 28 kB / 484.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000754/0.1351, allocations: 271.8 kB / 484.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.067e-05/0.1352, allocations: 87.56 kB / 484.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.1355, allocations: 270.7 kB / 484.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.1367, allocations: 0.7863 MB / 485.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1367, allocations: 0 / 485.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1367, allocations: 0 / 485.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.1367, allocations: 0 / 485.7 MB, free: 6.922 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.002712/0.1394, allocations: 0.9023 MB / 486.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.1395, allocations: 12.03 kB / 486.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.587e-05/0.1395, allocations: 13.19 kB / 486.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.463e-05/0.1396, allocations: 70.72 kB / 486.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.1399, allocations: 76.58 kB / 486.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/0.1407, allocations: 365.8 kB / 487.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.1408, allocations: 28.94 kB / 487.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/0.1408, allocations: 32 kB / 487.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.1415, allocations: 364.9 kB / 487.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1415, allocations: 3.938 kB / 487.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.1415, allocations: 12 kB / 487.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.1415, allocations: 8 kB / 487.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.142, allocations: 298.4 kB / 487.8 MB, free: 4.668 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.003342/0.1454, allocations: 2.462 MB / 490.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009363/0.1463, allocations: 350.9 kB / 490.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.1465, allocations: 96.83 kB / 490.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.1466, allocations: 4 kB / 490.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.1466, allocations: 38.5 kB / 490.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.295e-06/0.1466, allocations: 0 / 490.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002468/0.1491, allocations: 0.6581 MB / 491.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.1491, allocations: 55.41 kB / 491.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.1497, allocations: 350.8 kB / 491.8 MB, free: 344 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.1497, allocations: 29.7 kB / 491.8 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.1499, allocations: 208.5 kB / 492 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.1501, allocations: 127 kB / 492.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.1503, allocations: 69.64 kB / 492.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.1505, allocations: 346.6 kB / 492.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.1507, allocations: 87.95 kB / 492.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.1509, allocations: 132.7 kB / 492.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.1513, allocations: 248 kB / 493 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1513, allocations: 0 / 493 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001095/0.1524, allocations: 453 kB / 493.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.1525, allocations: 7.938 kB / 493.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1525, allocations: 0 / 493.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007792/0.1532, allocations: 152.8 kB / 493.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.1536, allocations: 67.91 kB / 493.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.157, allocations: 2.138 MB / 495.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.1574, allocations: 19.89 kB / 495.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.1574, allocations: 15.94 kB / 495.9 MB, free: 12.1 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.0003178/0.1577, allocations: 153.8 kB / 496 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/0.1578, allocations: 39.77 kB / 496.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.159, allocations: 458.8 kB / 496.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.159, allocations: 4 kB / 496.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.159, allocations: 4 kB / 496.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.159, allocations: 0 / 496.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.1609, allocations: 1.002 MB / 497.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1609, allocations: 0 / 497.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.1611, allocations: 59.91 kB / 497.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006701/0.1618, allocations: 144.6 kB / 497.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.1618, allocations: 8 kB / 497.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003387/0.1652, allocations: 2.069 MB / 499.8 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1652, allocations: 4.062 kB / 499.8 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.1664, allocations: 0.5129 MB / 0.4886 GB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.1667, allocations: 79.55 kB / 0.4887 GB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.1667, allocations: 12 kB / 0.4887 GB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.167, allocations: 8 kB / 0.4887 GB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.1671, allocations: 19.95 kB / 0.4887 GB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.1672, allocations: 12 kB / 0.4887 GB, free: 7.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003921/0.1675, allocations: 247.2 kB / 0.4889 GB, free: 7.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1675, allocations: 4 kB / 0.4889 GB, free: 7.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007907/0.1683, allocations: 159.8 kB / 0.4891 GB, free: 6.902 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.001781/0.1701, allocations: 1.095 MB / 0.4902 GB, free: 5.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009712/0.1711, allocations: 414.2 kB / 0.4906 GB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.1711, allocations: 0 / 0.4906 GB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.1716, allocations: 311.3 kB / 0.4909 GB, free: 5.043 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.1721, allocations: 69.05 kB / 0.4909 GB, free: 4.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006365/0.1785, allocations: 3.487 MB / 0.4943 GB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008756/0.1794, allocations: 0.804 MB / 0.4951 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002741/0.1796, allocations: 42.94 kB / 0.4952 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.1799, allocations: 115.4 kB / 0.4953 GB, free: 404 kB / 366.1 MB Notification: Performance of SimCode: time 3.046e-06/0.1799, allocations: 3.938 kB / 0.4953 GB, free: 400 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05225/0.2321, allocations: 11.29 MB / 0.5063 GB, free: 5.117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.45, allocations: 8.016 kB / 0.5063 GB, free: 5.109 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.841533468978014]