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.001578/0.001578, 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.002547/0.002547, allocations: 217.6 kB / 22.25 MB, free: 4.852 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.755/1.755, allocations: 207.7 MB / 233.1 MB, free: 9.805 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.06837/0.06837, 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.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",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.00218/0.00218, allocations: 67.91 kB / 420.6 MB, free: 39.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1033, allocations: 52.9 MB / 473.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.00544/0.1087, allocations: 3.81 MB / 477.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003836/0.1126, allocations: 2.256 MB / 479.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.1128, allocations: 11.94 kB / 479.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.1135, allocations: 226.8 kB / 479.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.1161, allocations: 1.064 MB / 480.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.1166, allocations: 235.2 kB / 481.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.118, allocations: 0.934 MB / 482.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.1182, allocations: 37.2 kB / 482.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005267/0.1187, allocations: 334.8 kB / 482.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.1192, allocations: 298.7 kB / 482.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.1193, allocations: 32 kB / 482.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007786/0.1201, allocations: 259.8 kB / 483 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.538e-05/0.1202, allocations: 83.61 kB / 483.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.1204, allocations: 218.9 kB / 483.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.1217, allocations: 0.7903 MB / 484.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1217, allocations: 0 / 484.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1217, allocations: 0 / 484.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.1217, allocations: 3.938 kB / 484.1 MB, free: 7.504 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.002731/0.1245, allocations: 0.9062 MB / 485 MB, free: 6.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1245, allocations: 12.03 kB / 485 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.409e-05/0.1246, allocations: 66.72 kB / 485.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003236/0.1249, allocations: 80.58 kB / 485.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008696/0.1258, allocations: 369.8 kB / 485.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.1258, allocations: 33.12 kB / 485.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.1259, allocations: 35.94 kB / 485.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.1265, allocations: 346.4 kB / 485.9 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1265, allocations: 0 / 485.9 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.1265, allocations: 16 kB / 485.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.1265, allocations: 8 kB / 485.9 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.1271, allocations: 306.4 kB / 486.2 MB, free: 5.27 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.002488/0.1296, allocations: 1.163 MB / 487.4 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009135/0.1305, allocations: 363.4 kB / 487.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.1307, allocations: 108.8 kB / 487.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.1307, allocations: 4 kB / 487.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1307, allocations: 34.56 kB / 487.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.1308, allocations: 4 kB / 487.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.002349/0.1331, allocations: 0.7006 MB / 488.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.1332, allocations: 59.41 kB / 488.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.1336, allocations: 324.6 kB / 489 MB, free: 2.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.1336, allocations: 41.7 kB / 489 MB, free: 2.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.1338, allocations: 196.6 kB / 489.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.1339, allocations: 134.8 kB / 489.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.134, allocations: 69.97 kB / 489.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1342, allocations: 342.8 kB / 489.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1344, allocations: 88.62 kB / 489.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.1346, allocations: 130.8 kB / 490 MB, free: 1.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.1349, allocations: 225.7 kB / 490.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1349, allocations: 0 / 490.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001037/0.136, allocations: 458.3 kB / 490.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.136, allocations: 11.97 kB / 490.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.136, allocations: 0 / 490.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007864/0.1368, allocations: 181.8 kB / 490.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.1371, allocations: 55.97 kB / 490.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/0.1407, allocations: 2.26 MB / 493.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.1411, allocations: 19.89 kB / 493.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.1411, allocations: 8 kB / 493.2 MB, free: 14.09 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.000244/0.1414, allocations: 161.8 kB / 493.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.382e-05/0.1415, allocations: 43.75 kB / 493.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.1426, allocations: 478.8 kB / 493.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1426, allocations: 4 kB / 493.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1426, allocations: 3.938 kB / 493.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1426, allocations: 3.984 kB / 493.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.1444, allocations: 0.9044 MB / 494.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.1445, allocations: 4 kB / 494.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.1447, allocations: 59.91 kB / 494.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006845/0.1454, allocations: 168.7 kB / 495 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.1454, allocations: 12 kB / 495 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.1487, allocations: 2.162 MB / 497.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1487, allocations: 0 / 497.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.1498, allocations: 0.5318 MB / 497.7 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.15, allocations: 71.72 kB / 497.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.1501, allocations: 11.94 kB / 497.8 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.1504, allocations: 15.89 kB / 497.8 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.1505, allocations: 35.88 kB / 497.8 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1505, allocations: 4 kB / 497.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003277/0.1508, allocations: 239.1 kB / 498 MB, free: 9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1508, allocations: 0 / 498 MB, free: 9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006239/0.1514, allocations: 167.9 kB / 498.2 MB, free: 8.836 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.001501/0.1529, allocations: 1.119 MB / 499.3 MB, free: 7.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.154, allocations: 482.1 kB / 499.8 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.154, allocations: 3.938 kB / 499.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006598/0.1547, allocations: 346.4 kB / 0.4884 GB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.1552, allocations: 71.53 kB / 0.4885 GB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005434/0.1606, allocations: 3.464 MB / 0.4919 GB, free: 3.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.1609, allocations: 208.2 kB / 0.4921 GB, free: 2.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.1611, allocations: 34.95 kB / 0.4921 GB, free: 2.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.1613, allocations: 127.4 kB / 0.4922 GB, free: 2.832 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1613, allocations: 0 / 0.4922 GB, free: 2.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04621/0.2075, allocations: 11.79 MB / 0.5037 GB, free: 7.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.33, allocations: 3.938 kB / 0.5037 GB, free: 7.059 MB / 382.1 MB " [Timeout remaining time 647] (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: 16.518361187074333]