Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",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.001141/0.001141, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00111/0.00111, allocations: 194.8 kB / 16.14 MB, free: 6.668 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.109/1.109, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05459/0.05459, allocations: 14.16 MB / 283.5 MB, free: 7.289 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.00125/0.00125, allocations: 66.72 kB / 344.5 MB, free: 19.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06508/0.06634, allocations: 50.14 MB / 394.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.006176/0.07255, allocations: 7.43 MB / 402.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003674/0.07624, allocations: 3.546 MB / 405.6 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.07649, allocations: 15.94 kB / 405.6 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006846/0.07719, allocations: 370.4 kB / 406 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.07965, allocations: 1.474 MB / 407.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008623/0.08052, allocations: 0.5565 MB / 408 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.0821, allocations: 1.847 MB / 409.9 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.08229, allocations: 122.5 kB / 410 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004197/0.08272, allocations: 489.4 kB / 410.5 MB, free: 1.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.08318, allocations: 0.5249 MB / 411 MB, free: 1.156 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.08325, allocations: 28 kB / 411 MB, free: 1.129 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000595/0.08385, allocations: 367.7 kB / 411.4 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.08395, allocations: 119.2 kB / 411.5 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.08432, allocations: 489.3 kB / 412 MB, free: 176 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.0854, allocations: 1.324 MB / 413.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.08541, allocations: 0 / 413.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.08542, allocations: 4 kB / 413.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.08543, allocations: 0 / 413.3 MB, free: 14.84 MB / 318.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.004128/0.08956, allocations: 1.668 MB / 415 MB, free: 13.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.0896, allocations: 8.031 kB / 415 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.08972, allocations: 122.8 kB / 415.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005092/0.09023, allocations: 147.7 kB / 415.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008605/0.0911, allocations: 0.6491 MB / 415.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/0.09115, allocations: 58.12 kB / 415.9 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-05/0.09123, allocations: 76 kB / 416 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.09225, allocations: 0.7615 MB / 416.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.09227, allocations: 3.938 kB / 416.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.09233, allocations: 36 kB / 416.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.09235, allocations: 16 kB / 416.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009928/0.09335, allocations: 0.7065 MB / 417.5 MB, free: 10.46 MB / 318.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.003764/0.09712, allocations: 4.689 MB / 422.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.09858, allocations: 0.9561 MB / 423.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.09898, allocations: 303.8 kB / 423.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/0.09903, allocations: 8.656 kB / 423.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.09906, allocations: 43.22 kB / 423.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 1.633e-06/0.09907, allocations: 0 / 423.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.002551/0.1016, allocations: 1.24 MB / 424.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.1017, allocations: 60.06 kB / 424.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/0.1021, allocations: 0.4984 MB / 425.3 MB, free: 2.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.1022, allocations: 33.7 kB / 425.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.1024, allocations: 367.8 kB / 425.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.1025, allocations: 276 kB / 426 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.1027, allocations: 138.5 kB / 426.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1028, allocations: 374.8 kB / 426.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.1032, allocations: 213.9 kB / 426.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.1035, allocations: 340.3 kB / 427 MB, free: 288 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1205/0.2241, allocations: 0.5795 MB / 427.6 MB, free: 37.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.2241, allocations: 1.312 kB / 427.6 MB, free: 37.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001475/0.2256, allocations: 0.8579 MB / 428.5 MB, free: 37.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2256, allocations: 6.875 kB / 428.5 MB, free: 37.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2256, allocations: 4.938 kB / 428.5 MB, free: 37.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/0.2262, allocations: 179.6 kB / 428.7 MB, free: 37.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.227, allocations: 201.2 kB / 428.8 MB, free: 37.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.2294, allocations: 2.333 MB / 431.2 MB, free: 35.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/0.2299, allocations: 52.7 kB / 431.2 MB, free: 35.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.23, allocations: 24.39 kB / 431.3 MB, free: 35.76 MB / 318.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.0002525/0.2302, allocations: 232.6 kB / 431.5 MB, free: 35.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.2304, allocations: 76.34 kB / 431.6 MB, free: 35.54 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.2317, allocations: 0.8026 MB / 432.4 MB, free: 35.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2317, allocations: 7.75 kB / 432.4 MB, free: 35.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2317, allocations: 4.078 kB / 432.4 MB, free: 35.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.2317, allocations: 6.703 kB / 432.4 MB, free: 35.16 MB / 318.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 postOpt removeSimpleEquations (simulation): time 0.002148/0.2339, allocations: 1.728 MB / 434.1 MB, free: 34.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.2339, allocations: 4.469 kB / 434.1 MB, free: 34.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006423/0.2345, allocations: 164.6 kB / 434.3 MB, free: 34.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004684/0.235, allocations: 171.2 kB / 434.4 MB, free: 34.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.235, allocations: 14.84 kB / 434.5 MB, free: 34.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/0.2374, allocations: 2.326 MB / 436.8 MB, free: 32.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2374, allocations: 5.031 kB / 436.8 MB, free: 32.33 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.2386, allocations: 0.8579 MB / 437.6 MB, free: 31.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.2388, allocations: 208.5 kB / 437.8 MB, free: 31.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.232e-05/0.2389, allocations: 18.75 kB / 437.9 MB, free: 31.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/0.2393, allocations: 30.53 kB / 437.9 MB, free: 31.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.2394, allocations: 46.94 kB / 437.9 MB, free: 31.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.2394, allocations: 20.97 kB / 438 MB, free: 31.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003684/0.2398, allocations: 345.4 kB / 438.3 MB, free: 31.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2398, allocations: 4.094 kB / 438.3 MB, free: 31.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007082/0.2405, allocations: 275.1 kB / 438.6 MB, free: 31.47 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 (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.001417/0.2419, allocations: 1.474 MB / 440 MB, free: 30.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.2432, allocations: 0.814 MB / 440.9 MB, free: 30.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2432, allocations: 1.656 kB / 440.9 MB, free: 30.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006942/0.2439, allocations: 0.5241 MB / 441.4 MB, free: 29.83 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.2445, allocations: 84.5 kB / 441.5 MB, free: 29.78 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.006995/0.2515, allocations: 6.03 MB / 447.5 MB, free: 26.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2518, allocations: 0.9411 MB / 448.4 MB, free: 25.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000417/0.2523, allocations: 91.38 kB / 448.5 MB, free: 25.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.2526, allocations: 267.4 kB / 448.8 MB, free: 25.21 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2526, allocations: 0 / 448.8 MB, free: 25.21 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.2739, allocations: 14.57 MB / 463.4 MB, free: 14.22 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/0.2741, allocations: 235.4 kB / 463.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.056, allocations: 0 / 463.6 MB, free: 13.96 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches