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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001628/0.001628, allocations: 193.3 kB / 16.25 MB, free: 6.625 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.689/1.689, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06027/0.06027, allocations: 14.16 MB / 283.6 MB, free: 7.258 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.001564/0.001564, allocations: 67.84 kB / 344.7 MB, free: 19.61 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.114, allocations: 50.13 MB / 394.8 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.005223/0.1193, allocations: 4.308 MB / 399.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004312/0.1236, allocations: 2.435 MB / 401.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/0.124, allocations: 4 kB / 401.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007485/0.1247, allocations: 219.1 kB / 401.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.1275, allocations: 1.045 MB / 402.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.128, allocations: 223.3 kB / 403 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.1293, allocations: 0.9846 MB / 404 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.1295, allocations: 57.06 kB / 404.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.1299, allocations: 290.7 kB / 404.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.1303, allocations: 278.8 kB / 404.6 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.1303, allocations: 20 kB / 404.6 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006669/0.131, allocations: 255.8 kB / 404.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.1311, allocations: 75.58 kB / 405 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.1314, allocations: 258.7 kB / 405.2 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009811/0.1324, allocations: 0.7052 MB / 405.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.1324, allocations: 0 / 405.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1324, allocations: 0 / 405.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1324, allocations: 3.938 kB / 405.9 MB, free: 6.273 MB / 302.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.002322/0.1347, allocations: 0.9393 MB / 406.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.1348, allocations: 12.03 kB / 406.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.998e-05/0.1349, allocations: 66.72 kB / 406.9 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002983/0.1352, allocations: 80.36 kB / 407 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006464/0.1358, allocations: 404.5 kB / 407.4 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.1359, allocations: 33.12 kB / 407.4 MB, free: 4.648 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.1359, allocations: 39.92 kB / 407.5 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.1365, allocations: 353 kB / 407.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1365, allocations: 0 / 407.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.1366, allocations: 16 kB / 407.8 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.1366, allocations: 12 kB / 407.9 MB, free: 4.211 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.1371, allocations: 298.3 kB / 408.2 MB, free: 3.918 MB / 302.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.00219/0.1393, allocations: 2.309 MB / 410.5 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008579/0.1401, allocations: 453.6 kB / 410.9 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.1403, allocations: 113.4 kB / 411 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.1404, allocations: 8 kB / 411 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.1404, allocations: 42.53 kB / 411.1 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.512e-06/0.1404, allocations: 3.938 kB / 411.1 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002164/0.1426, allocations: 0.7258 MB / 411.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1426, allocations: 55.41 kB / 411.8 MB, free: 15.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.143, allocations: 313.7 kB / 412.2 MB, free: 15.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.143, allocations: 33.7 kB / 412.2 MB, free: 15.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.1432, allocations: 204.2 kB / 412.4 MB, free: 15.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/0.1433, allocations: 130.1 kB / 412.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/0.1434, allocations: 61.7 kB / 412.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1435, allocations: 346.7 kB / 412.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1436, allocations: 87.97 kB / 413 MB, free: 14.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.1438, allocations: 136.7 kB / 413.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.1442, allocations: 251.6 kB / 413.4 MB, free: 14.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1442, allocations: 0 / 413.4 MB, free: 14.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009409/0.1451, allocations: 457.1 kB / 413.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1452, allocations: 4 kB / 413.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.1452, allocations: 12.06 kB / 413.8 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007085/0.1459, allocations: 144.7 kB / 414 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.1462, allocations: 71.89 kB / 414.1 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.149, allocations: 2.193 MB / 416.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.1494, allocations: 23.78 kB / 416.3 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.1494, allocations: 12 kB / 416.3 MB, free: 11.21 MB / 318.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.0002303/0.1496, allocations: 169.7 kB / 416.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.1497, allocations: 39.53 kB / 416.5 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009969/0.1507, allocations: 458.1 kB / 416.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.1507, allocations: 4 kB / 416.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.1507, allocations: 0 / 416.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1508, allocations: 0 / 416.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.1524, allocations: 0.9707 MB / 417.9 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.1524, allocations: 3.938 kB / 417.9 MB, free: 9.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.1526, allocations: 59.97 kB / 418 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006749/0.1533, allocations: 144.7 kB / 418.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.1534, allocations: 11.94 kB / 418.1 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002874/0.1562, allocations: 2.168 MB / 420.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1563, allocations: 0 / 420.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000965/0.1572, allocations: 0.5078 MB / 420.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.1574, allocations: 140.5 kB / 420.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/0.1575, allocations: 11.94 kB / 420.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.1577, allocations: 19.84 kB / 421 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.1578, allocations: 27.95 kB / 421 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1578, allocations: 4 kB / 421 MB, free: 6.211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.158, allocations: 223.2 kB / 421.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.158, allocations: 0 / 421.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005806/0.1586, allocations: 144 kB / 421.4 MB, free: 5.855 MB / 318.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.001537/0.1602, allocations: 1.103 MB / 422.5 MB, free: 4.723 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.001012/0.1612, allocations: 439.1 kB / 422.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.1612, allocations: 0 / 422.9 MB, free: 4.281 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.0004571/0.1617, allocations: 322.3 kB / 423.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/0.1622, allocations: 64.39 kB / 423.3 MB, free: 3.895 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/0.1674, allocations: 3.508 MB / 426.8 MB, free: 288 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2059/0.3733, allocations: 0.7998 MB / 427.6 MB, free: 37.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002512/0.3736, allocations: 40.53 kB / 427.6 MB, free: 37.56 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.3738, allocations: 114.2 kB / 427.7 MB, free: 37.55 MB / 318.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3738, allocations: 0 / 427.7 MB, free: 37.55 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/0.406, allocations: 9.577 MB / 437.3 MB, free: 35.39 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.4062, allocations: 216.7 kB / 437.5 MB, free: 35.14 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.356, allocations: 0 / 437.5 MB, free: 35.14 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches