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.001352/0.001352, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.549/1.549, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06315/0.06315, allocations: 14.17 MB / 283.9 MB, free: 7.082 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.001443/0.001443, allocations: 68.11 kB / 345.2 MB, free: 19.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.0878, allocations: 50.13 MB / 395.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.00532/0.09317, allocations: 4.177 MB / 399.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.09676, allocations: 2.458 MB / 401.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.09706, allocations: 8 kB / 401.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.09773, allocations: 238.7 kB / 402.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.1003, allocations: 1.115 MB / 403.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.1009, allocations: 250.5 kB / 403.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.1021, allocations: 0.9262 MB / 404.5 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.1023, allocations: 61.06 kB / 404.5 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004301/0.1028, allocations: 318.8 kB / 404.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004548/0.1032, allocations: 318.7 kB / 405.1 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.1033, allocations: 32 kB / 405.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007037/0.104, allocations: 275.8 kB / 405.4 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.1041, allocations: 79.62 kB / 405.5 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.1044, allocations: 274.6 kB / 405.8 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.1055, allocations: 0.752 MB / 406.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1055, allocations: 0 / 406.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1055, allocations: 0 / 406.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1055, allocations: 0 / 406.5 MB, free: 5.84 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.002621/0.1082, allocations: 0.9706 MB / 407.5 MB, free: 4.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1082, allocations: 12.03 kB / 407.5 MB, free: 4.809 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.092e-05/0.1083, allocations: 74.7 kB / 407.6 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003111/0.1086, allocations: 80.34 kB / 407.7 MB, free: 4.648 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.1093, allocations: 420.6 kB / 408.1 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.1093, allocations: 29.12 kB / 408.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.1094, allocations: 35.94 kB / 408.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.1099, allocations: 346.4 kB / 408.5 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1099, allocations: 7.938 kB / 408.5 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.11, allocations: 16 kB / 408.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.11, allocations: 8 kB / 408.5 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.1105, allocations: 310.5 kB / 408.8 MB, free: 3.441 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.002957/0.1134, allocations: 2.323 MB / 411.1 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009817/0.1144, allocations: 0.5451 MB / 411.7 MB, free: 240 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.1146, allocations: 121.5 kB / 411.8 MB, free: 116 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.1147, allocations: 11.92 kB / 411.8 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1147, allocations: 38.31 kB / 411.9 MB, free: 56 kB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.935e-06/0.1147, allocations: 4 kB / 411.9 MB, free: 52 kB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.002209/0.1169, allocations: 0.7374 MB / 412.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.117, allocations: 63.39 kB / 412.7 MB, free: 15.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.1174, allocations: 328.5 kB / 413 MB, free: 14.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.1174, allocations: 37.7 kB / 413 MB, free: 14.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1175, allocations: 192.3 kB / 413.2 MB, free: 14.65 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.1176, allocations: 126.1 kB / 413.3 MB, free: 14.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.602e-05/0.1177, allocations: 66.03 kB / 413.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1179, allocations: 342.8 kB / 413.7 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.118, allocations: 88.62 kB / 413.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.1182, allocations: 126.5 kB / 413.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.1185, allocations: 238 kB / 414.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1185, allocations: 7.938 kB / 414.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009345/0.1195, allocations: 445.5 kB / 414.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1195, allocations: 4 kB / 414.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1195, allocations: 4.031 kB / 414.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000741/0.1203, allocations: 168.6 kB / 414.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.1206, allocations: 71.89 kB / 414.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.1236, allocations: 2.251 MB / 417.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.1239, allocations: 19.75 kB / 417.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.124, allocations: 12 kB / 417.1 MB, free: 10.54 MB / 318.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.0001687/0.1241, allocations: 158.9 kB / 417.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.1242, allocations: 35.62 kB / 417.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009839/0.1252, allocations: 467 kB / 417.8 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1252, allocations: 11.94 kB / 417.8 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1252, allocations: 112 / 417.8 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1252, allocations: 7.922 kB / 417.8 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.1269, allocations: 1.122 MB / 418.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1269, allocations: 0 / 418.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.1272, allocations: 59.91 kB / 419 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000634/0.1278, allocations: 160.7 kB / 419.1 MB, free: 8.426 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.1278, allocations: 8 kB / 419.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002664/0.1305, allocations: 2.202 MB / 421.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1305, allocations: 0 / 421.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.1315, allocations: 0.5303 MB / 421.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.1317, allocations: 156.5 kB / 422 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.1318, allocations: 11.94 kB / 422.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.1321, allocations: 8 kB / 422.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.1321, allocations: 28.02 kB / 422.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1321, allocations: 8 kB / 422.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.1324, allocations: 239 kB / 422.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1324, allocations: 4 kB / 422.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005571/0.133, allocations: 163.8 kB / 422.5 MB, free: 4.902 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 (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.001357/0.1344, allocations: 1.107 MB / 423.6 MB, free: 3.762 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.001148/0.1355, allocations: 493.8 kB / 424.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.1355, allocations: 0 / 424.1 MB, free: 3.266 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.0006744/0.1362, allocations: 366.5 kB / 424.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.1368, allocations: 72.7 kB / 424.5 MB, free: 2.828 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.1652/0.302, allocations: 3.479 MB / 428 MB, free: 36.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.3024, allocations: 0.8078 MB / 428.8 MB, free: 35.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000287/0.3027, allocations: 38.62 kB / 428.8 MB, free: 35.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.3029, allocations: 122.2 kB / 429 MB, free: 35.83 MB / 318.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3029, allocations: 2.438 kB / 429 MB, free: 35.83 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.3392, allocations: 10.74 MB / 439.7 MB, free: 33.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.57, allocations: 1.062 kB / 439.7 MB, free: 33.09 MB / 318.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 & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.csv","/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