Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.00146/0.00146, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002018/0.002018, allocations: 209.8 kB / 23.03 MB, free: 4.43 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.794/1.794, allocations: 207.7 MB / 233.9 MB, free: 9.777 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.06887/0.06887, allocations: 14.39 MB / 300.5 MB, free: 7.258 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.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",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.00233/0.00233, allocations: 71.89 kB / 421.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0984/0.1007, allocations: 52.9 MB / 474.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.005758/0.1065, allocations: 3.81 MB / 478.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00376/0.1102, allocations: 2.259 MB / 480.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.1105, allocations: 7.938 kB / 480.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.1114, allocations: 226.7 kB / 480.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002862/0.1142, allocations: 1.06 MB / 481.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.1148, allocations: 246.9 kB / 481.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.1162, allocations: 0.9262 MB / 482.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1163, allocations: 37.22 kB / 482.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.1167, allocations: 338.8 kB / 483.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004386/0.1172, allocations: 318.7 kB / 483.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.668e-05/0.1172, allocations: 32 kB / 483.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005525/0.1178, allocations: 267.8 kB / 483.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.507e-05/0.1179, allocations: 83.55 kB / 483.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.1181, allocations: 226.9 kB / 484.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.1192, allocations: 0.7903 MB / 484.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1192, allocations: 0 / 484.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1192, allocations: 0 / 484.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1192, allocations: 4 kB / 484.9 MB, free: 7.457 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.00265/0.1218, allocations: 0.9062 MB / 485.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1219, allocations: 8.031 kB / 485.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.601e-05/0.1219, allocations: 9.188 kB / 485.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.475e-05/0.122, allocations: 70.72 kB / 485.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.1223, allocations: 76.58 kB / 486 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/0.1231, allocations: 385.7 kB / 486.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1232, allocations: 24.94 kB / 486.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.1232, allocations: 32 kB / 486.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006146/0.1238, allocations: 350.4 kB / 486.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1238, allocations: 0 / 486.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.1239, allocations: 15.94 kB / 486.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1239, allocations: 12 kB / 486.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005464/0.1245, allocations: 306.4 kB / 487.1 MB, free: 5.203 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.002487/0.1269, allocations: 1.156 MB / 488.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009138/0.1279, allocations: 372.5 kB / 488.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.128, allocations: 112.8 kB / 488.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.1281, allocations: 4 kB / 488.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1281, allocations: 30.56 kB / 488.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.1281, allocations: 0 / 488.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.002392/0.1305, allocations: 0.7045 MB / 489.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.1306, allocations: 59.41 kB / 489.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.131, allocations: 328.6 kB / 489.8 MB, free: 2.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.131, allocations: 29.7 kB / 489.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.1312, allocations: 204.6 kB / 490 MB, free: 2.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.1313, allocations: 134.7 kB / 490.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.1315, allocations: 69.97 kB / 490.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1316, allocations: 342.7 kB / 490.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.1318, allocations: 96.61 kB / 490.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.132, allocations: 122.9 kB / 490.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.1324, allocations: 221.7 kB / 491 MB, free: 1.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1324, allocations: 8 kB / 491 MB, free: 1.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001075/0.1334, allocations: 458.2 kB / 491.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1335, allocations: 8 kB / 491.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1335, allocations: 0 / 491.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008227/0.1343, allocations: 184.7 kB / 491.7 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.1346, allocations: 63.91 kB / 491.7 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/0.1381, allocations: 2.245 MB / 494 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.1384, allocations: 15.89 kB / 494 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.1385, allocations: 16 kB / 494 MB, free: 14.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (27): * Single equations (assignments): 26 * 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 {(4,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.1387, allocations: 157.8 kB / 494.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/0.1388, allocations: 39.77 kB / 494.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.1399, allocations: 474.8 kB / 494.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1399, allocations: 4 kB / 494.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.1399, allocations: 0 / 494.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.1399, allocations: 7.984 kB / 494.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.1416, allocations: 0.9044 MB / 495.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1416, allocations: 0 / 495.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.1418, allocations: 59.89 kB / 495.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007146/0.1425, allocations: 176.2 kB / 495.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.1425, allocations: 12 kB / 495.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/0.1456, allocations: 2.166 MB / 498 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1456, allocations: 0 / 498 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.1467, allocations: 0.5395 MB / 498.5 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.1469, allocations: 71.72 kB / 498.6 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.147, allocations: 7.938 kB / 498.6 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.1473, allocations: 15.94 kB / 498.6 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.1473, allocations: 31.94 kB / 498.6 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1474, allocations: 4 kB / 498.6 MB, free: 9.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.1477, allocations: 239 kB / 498.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1477, allocations: 4 kB / 498.9 MB, free: 8.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005935/0.1483, allocations: 167.9 kB / 499 MB, free: 8.77 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00152/0.1498, allocations: 1.119 MB / 0.4884 GB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.1508, allocations: 478.1 kB / 0.4889 GB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1508, allocations: 0 / 0.4889 GB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006617/0.1515, allocations: 350.5 kB / 0.4892 GB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.152, allocations: 71.84 kB / 0.4893 GB, free: 6.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005468/0.1575, allocations: 3.472 MB / 0.4927 GB, free: 3.148 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1577, allocations: 208.2 kB / 0.4929 GB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.1579, allocations: 42.92 kB / 0.4929 GB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.1581, allocations: 123.4 kB / 0.493 GB, free: 2.758 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1581, allocations: 8 kB / 0.493 GB, free: 2.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03933/0.1974, allocations: 11.48 MB / 0.5043 GB, free: 7.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/13.7, allocations: 8 kB / 0.5043 GB, free: 7.277 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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: 17.057356570963748]