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.00747/0.00747, allocations: 99.88 kB / 15.73 MB, free: 6.047 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.001892/0.001892, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.381/1.381, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06461/0.06461, allocations: 14.17 MB / 284.1 MB, free: 6.988 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.00171/0.00171, allocations: 63.91 kB / 396 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2607, allocations: 50.14 MB / 446.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.008411/0.2691, allocations: 7.284 MB / 453.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006385/0.2755, allocations: 3.544 MB / 457 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.2768, allocations: 18.03 kB / 457 MB, free: 9.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.2783, allocations: 411.5 kB / 457.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004976/0.2833, allocations: 1.579 MB / 459 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.2846, allocations: 0.5673 MB / 459.5 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002868/0.2875, allocations: 1.841 MB / 461.4 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004058/0.2879, allocations: 124.2 kB / 461.5 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.2891, allocations: 0.6353 MB / 462.1 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.2904, allocations: 0.636 MB / 462.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.2906, allocations: 62.75 kB / 462.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.292, allocations: 430.3 kB / 463.2 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.2922, allocations: 163.6 kB / 463.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.2933, allocations: 0.543 MB / 463.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.2958, allocations: 1.5 MB / 465.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2959, allocations: 1.031 kB / 465.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2959, allocations: 0 / 465.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.409e-05/0.2959, allocations: 0 / 465.4 MB, free: 3.453 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.006279/0.3022, allocations: 1.735 MB / 467.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3022, allocations: 12.03 kB / 467.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.3024, allocations: 126.7 kB / 467.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007047/0.3031, allocations: 147.7 kB / 467.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.3047, allocations: 0.6766 MB / 468.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.3048, allocations: 58.12 kB / 468.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.3049, allocations: 72 kB / 468.3 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.3062, allocations: 0.7732 MB / 469 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.3063, allocations: 3.984 kB / 469 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/0.3063, allocations: 32.06 kB / 469.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3064, allocations: 16 kB / 469.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.3075, allocations: 0.7027 MB / 469.8 MB, free: 15.26 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.00647/0.314, allocations: 5.076 MB / 474.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.3157, allocations: 0.9665 MB / 475.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.3162, allocations: 306.7 kB / 476.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.943e-05/0.3163, allocations: 12.59 kB / 476.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3163, allocations: 39.22 kB / 476.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 3.005e-06/0.3163, allocations: 0 / 476.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.003069/0.3194, allocations: 1.248 MB / 477.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3195, allocations: 60.06 kB / 477.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007375/0.3202, allocations: 0.5461 MB / 478 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.3203, allocations: 37.7 kB / 478.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.3205, allocations: 363.9 kB / 478.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.3208, allocations: 280 kB / 478.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.321, allocations: 134.6 kB / 478.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3212, allocations: 370.8 kB / 479.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.3215, allocations: 221.9 kB / 479.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/0.322, allocations: 332.3 kB / 479.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000951/0.323, allocations: 0.5937 MB / 480.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.323, allocations: 0 / 480.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001557/0.3245, allocations: 0.8603 MB / 481.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.3246, allocations: 4 kB / 481.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3246, allocations: 4 kB / 481.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.3252, allocations: 188.8 kB / 481.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/0.326, allocations: 195.8 kB / 481.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/0.3293, allocations: 2.52 MB / 484.1 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/0.3302, allocations: 51.72 kB / 484.1 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.3303, allocations: 24 kB / 484.2 MB, free: 4 kB / 350.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.0003394/0.3306, allocations: 225.7 kB / 484.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.3308, allocations: 79.06 kB / 484.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.3322, allocations: 0.8062 MB / 485.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.3322, allocations: 8 kB / 485.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.3322, allocations: 0 / 485.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.3322, allocations: 7.984 kB / 485.3 MB, free: 14.86 MB / 366.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.002751/0.335, allocations: 1.854 MB / 487.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.335, allocations: 0 / 487.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007019/0.3357, allocations: 163.8 kB / 487.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005091/0.3362, allocations: 180.7 kB / 487.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.3363, allocations: 8 kB / 487.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/0.3394, allocations: 2.53 MB / 490 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3394, allocations: 4 kB / 490 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.3411, allocations: 0.8625 MB / 490.9 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/0.3417, allocations: 228 kB / 491.1 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.3419, allocations: 12 kB / 491.1 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006885/0.3426, allocations: 20 kB / 491.1 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.3427, allocations: 52.52 kB / 491.2 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.3428, allocations: 20 kB / 491.2 MB, free: 8.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006137/0.3434, allocations: 382.8 kB / 491.6 MB, free: 8.305 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3434, allocations: 0 / 491.6 MB, free: 8.305 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001072/0.3445, allocations: 307.7 kB / 491.9 MB, free: 8.004 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.001966/0.3465, allocations: 1.488 MB / 493.4 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.3482, allocations: 0.8071 MB / 494.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3482, allocations: 0 / 494.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008946/0.3491, allocations: 0.541 MB / 494.7 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.3501, allocations: 110 kB / 494.8 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00881/0.359, allocations: 5.802 MB / 0.4889 GB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.3595, allocations: 0.9425 MB / 0.4898 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003848/0.3599, allocations: 89.31 kB / 0.4899 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/0.3603, allocations: 271.3 kB / 0.4902 GB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3603, allocations: 0 / 0.4902 GB, free: 13.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04227/0.4025, allocations: 17.78 MB / 0.5075 GB, free: 11.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.97, allocations: 12.34 kB / 0.5075 GB, free: 11.91 MB / 398.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches