Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",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.008322/0.008322, allocations: 102.8 kB / 15.74 MB, free: 6.496 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.002211/0.002211, allocations: 196.2 kB / 16.68 MB, free: 6.375 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.476/1.476, allocations: 205.1 MB / 222.6 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06939/0.06939, allocations: 14.17 MB / 284.1 MB, free: 7.035 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.002134/0.002134, allocations: 72.06 kB / 396 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2349, allocations: 50.14 MB / 446.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.007116/0.2421, allocations: 7.288 MB / 453.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005417/0.2475, allocations: 3.537 MB / 457 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005225/0.2481, allocations: 16.31 kB / 457 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.2491, allocations: 416.3 kB / 457.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.2528, allocations: 1.571 MB / 459 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.254, allocations: 0.5754 MB / 459.5 MB, free: 7.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.2563, allocations: 1.845 MB / 461.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.2566, allocations: 125 kB / 461.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00088/0.2574, allocations: 0.612 MB / 462.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008224/0.2583, allocations: 0.6401 MB / 462.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.557e-05/0.2584, allocations: 62.38 kB / 462.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009488/0.2593, allocations: 429.4 kB / 463.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.2595, allocations: 160.4 kB / 463.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005529/0.2601, allocations: 0.5401 MB / 463.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.2621, allocations: 1.519 MB / 465.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2621, allocations: 0 / 465.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2621, allocations: 0 / 465.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.2622, allocations: 1 kB / 465.5 MB, free: 3.473 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005593/0.2678, allocations: 1.765 MB / 467.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2678, allocations: 8.031 kB / 467.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.268, allocations: 122.8 kB / 467.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006279/0.2686, allocations: 152.2 kB / 467.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.2699, allocations: 0.6889 MB / 468.2 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/0.27, allocations: 58.12 kB / 468.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.2701, allocations: 72 kB / 468.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.2713, allocations: 0.7615 MB / 469.1 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.2714, allocations: 11.97 kB / 469.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.058e-05/0.2714, allocations: 28 kB / 469.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.2715, allocations: 20 kB / 469.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.2726, allocations: 0.7065 MB / 469.8 MB, free: 15.23 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.006894/0.2795, allocations: 5.106 MB / 474.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.2813, allocations: 0.955 MB / 475.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004938/0.2818, allocations: 314.6 kB / 476.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.2819, allocations: 8.656 kB / 476.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.282, allocations: 39.22 kB / 476.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 2.946e-06/0.282, allocations: 8 kB / 476.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.003102/0.2851, allocations: 1.245 MB / 477.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.2851, allocations: 64.05 kB / 477.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.2859, allocations: 0.5459 MB / 478.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.286, allocations: 41.7 kB / 478.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.2863, allocations: 376.6 kB / 478.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.2866, allocations: 277.5 kB / 478.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.2868, allocations: 130.6 kB / 478.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.287, allocations: 378.8 kB / 479.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.2874, allocations: 213.9 kB / 479.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/0.288, allocations: 336.3 kB / 479.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009162/0.2889, allocations: 0.5898 MB / 480.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2889, allocations: 4 kB / 480.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001622/0.2905, allocations: 0.8683 MB / 481.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.2906, allocations: 8 kB / 481.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2906, allocations: 0 / 481.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.2912, allocations: 181 kB / 481.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/0.2921, allocations: 199.7 kB / 481.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003571/0.2956, allocations: 2.552 MB / 484.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008647/0.2965, allocations: 47.73 kB / 484.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.2966, allocations: 24 kB / 484.3 MB, free: 15.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004136/0.297, allocations: 229.7 kB / 484.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.2972, allocations: 79.56 kB / 484.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.2987, allocations: 0.7984 MB / 485.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.2987, allocations: 11.98 kB / 485.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.2987, allocations: 4 kB / 485.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.2987, allocations: 7.984 kB / 485.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.3016, allocations: 1.854 MB / 487.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3017, allocations: 0 / 487.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007036/0.3024, allocations: 163.8 kB / 487.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005762/0.303, allocations: 172 kB / 487.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.303, allocations: 12 kB / 487.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004084/0.3071, allocations: 2.555 MB / 490.2 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.3072, allocations: 0 / 490.2 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.309, allocations: 0.8669 MB / 491 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/0.3095, allocations: 228.5 kB / 491.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.3097, allocations: 12 kB / 491.3 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/0.3102, allocations: 20 kB / 491.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3104, allocations: 52.52 kB / 491.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/0.3105, allocations: 20 kB / 491.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005398/0.311, allocations: 386.8 kB / 491.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.311, allocations: 0 / 491.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001357/0.3124, allocations: 311.8 kB / 492 MB, free: 7.871 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 (63): * Single equations (assignments): 62 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003059/0.3155, allocations: 1.488 MB / 493.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.3177, allocations: 0.7992 MB / 494.3 MB, free: 5.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.3177, allocations: 0 / 494.3 MB, free: 5.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.319, allocations: 0.5215 MB / 494.8 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.3202, allocations: 102.3 kB / 494.9 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.3343, allocations: 5.821 MB / 0.489 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008983/0.3352, allocations: 0.9464 MB / 0.49 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006313/0.3359, allocations: 85.31 kB / 0.49 GB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006483/0.3365, allocations: 271.3 kB / 0.4903 GB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3365, allocations: 0 / 0.4903 GB, free: 13.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07061/0.4072, allocations: 17.37 MB / 0.5073 GB, free: 12.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.53, allocations: 8.391 kB / 0.5073 GB, free: 12.2 MB / 398.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches