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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009324/0.009325, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002021/0.002022, allocations: 195.5 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06049/0.06049, allocations: 14.16 MB / 284.1 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 66.09 kB / 396 MB, free: 44.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09969/0.1011, allocations: 50.13 MB / 446.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.005721/0.1069, allocations: 4.183 MB / 450.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00429/0.1112, allocations: 2.45 MB / 452.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.1115, allocations: 15.94 kB / 452.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006577/0.1122, allocations: 242.7 kB / 453 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.1145, allocations: 1.135 MB / 454.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.115, allocations: 250.9 kB / 454.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.116, allocations: 0.93 MB / 455.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.1162, allocations: 63.88 kB / 455.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003781/0.1166, allocations: 334.8 kB / 455.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.117, allocations: 318.7 kB / 456 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.209e-05/0.1171, allocations: 36 kB / 456.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005485/0.1176, allocations: 275.8 kB / 456.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.831e-05/0.1177, allocations: 75.64 kB / 456.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.118, allocations: 270.7 kB / 456.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009378/0.1189, allocations: 0.7837 MB / 457.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.119, allocations: 0 / 457.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.119, allocations: 0 / 457.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.119, allocations: 3.984 kB / 457.5 MB, free: 2.781 MB / 334.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.002363/0.1213, allocations: 0.9667 MB / 458.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1214, allocations: 12.03 kB / 458.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.896e-05/0.1215, allocations: 74.7 kB / 458.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.1218, allocations: 72.34 kB / 458.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000718/0.1225, allocations: 436.5 kB / 459 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.1225, allocations: 25.12 kB / 459 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.1226, allocations: 36 kB / 459.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.1231, allocations: 346.4 kB / 459.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.1232, allocations: 7.938 kB / 459.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.1232, allocations: 12 kB / 459.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1232, allocations: 8 kB / 459.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.1237, allocations: 310.4 kB / 459.7 MB, free: 404 kB / 334.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.002824/0.1266, allocations: 2.315 MB / 462 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/0.1275, allocations: 0.5455 MB / 462.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.1277, allocations: 128.8 kB / 462.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.1278, allocations: 4.625 kB / 462.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.1278, allocations: 30.56 kB / 462.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.272e-06/0.1278, allocations: 0 / 462.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.002073/0.1299, allocations: 0.7442 MB / 463.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.13, allocations: 55.41 kB / 463.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.1303, allocations: 336.5 kB / 463.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1304, allocations: 33.7 kB / 463.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1305, allocations: 197.4 kB / 464.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1306, allocations: 130 kB / 464.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.1307, allocations: 62.03 kB / 464.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1308, allocations: 338.8 kB / 464.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.131, allocations: 92.62 kB / 464.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.1312, allocations: 122.9 kB / 464.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.1315, allocations: 234 kB / 465.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1315, allocations: 3.938 kB / 465.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009345/0.1325, allocations: 453.5 kB / 465.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1325, allocations: 4 kB / 465.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1325, allocations: 0 / 465.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007058/0.1332, allocations: 160.7 kB / 465.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.1335, allocations: 71.95 kB / 465.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/0.1364, allocations: 2.258 MB / 468 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.1367, allocations: 15.84 kB / 468 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.1368, allocations: 12 kB / 468 MB, free: 7.508 MB / 350.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 (29): * Single equations (assignments): 28 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.1369, allocations: 161.8 kB / 468.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.949e-05/0.137, allocations: 39.53 kB / 468.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009671/0.138, allocations: 470.8 kB / 468.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.138, allocations: 7.938 kB / 468.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.138, allocations: 0 / 468.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.138, allocations: 4 kB / 468.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.1396, allocations: 1.118 MB / 469.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1396, allocations: 0 / 469.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.1399, allocations: 63.91 kB / 469.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006275/0.1405, allocations: 157 kB / 470 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.1405, allocations: 8 kB / 470 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.1431, allocations: 2.205 MB / 472.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1431, allocations: 4 kB / 472.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009208/0.1441, allocations: 0.5204 MB / 472.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.1442, allocations: 156.5 kB / 472.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.1443, allocations: 11.94 kB / 472.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.1446, allocations: 8 kB / 472.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.1446, allocations: 27.95 kB / 473 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.1446, allocations: 12 kB / 473 MB, free: 2.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002438/0.1449, allocations: 235.1 kB / 473.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1449, allocations: 0 / 473.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005342/0.1454, allocations: 163.8 kB / 473.4 MB, free: 1.883 MB / 350.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 (26): * Single equations (assignments): 25 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/0.1467, allocations: 1.116 MB / 474.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008662/0.1476, allocations: 467.2 kB / 474.9 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1476, allocations: 0 / 474.9 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006078/0.1482, allocations: 378 kB / 475.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.1487, allocations: 79.53 kB / 475.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.1533, allocations: 3.45 MB / 478.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.1537, allocations: 0.8078 MB / 479.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.1539, allocations: 42.95 kB / 479.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.1541, allocations: 123.4 kB / 479.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1541, allocations: 0 / 479.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.1876, allocations: 10.92 MB / 490.7 MB, free: 392 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.42, allocations: 15.38 kB / 490.7 MB, free: 380 kB / 366.1 MB (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 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) 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) Reference file matches