Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.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.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",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: 105.6 kB / 15.74 MB, free: 6.055 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.001758/0.001758, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.363/1.363, 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.06184/0.06184, allocations: 14.17 MB / 284.1 MB, free: 6.984 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.00256/0.00256, allocations: 63.91 kB / 398.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.275, allocations: 50.14 MB / 448.2 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.002438/0.2774, allocations: 2.125 MB / 450.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006182/0.2781, allocations: 452.5 kB / 450.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.989e-05/0.2782, allocations: 6.875 kB / 450.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.2784, allocations: 95.27 kB / 450.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.2786, allocations: 73.39 kB / 451 MB, free: 464 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.2791, allocations: 246 kB / 451.2 MB, free: 280 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.2794, allocations: 247.3 kB / 451.5 MB, free: 128 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.2795, allocations: 135.4 kB / 451.6 MB, free: 52 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.592e-05/0.2796, allocations: 89.59 kB / 451.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.2798, allocations: 111.5 kB / 451.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.2798, allocations: 31.45 kB / 451.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.2799, allocations: 82.98 kB / 451.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.28, allocations: 50.72 kB / 451.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.223e-05/0.2801, allocations: 135.8 kB / 452.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.2805, allocations: 378.7 kB / 452.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2805, allocations: 5.359 kB / 452.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2805, allocations: 0 / 452.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.2805, allocations: 0 / 452.5 MB, free: 15.42 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001635/0.2821, allocations: 0.7347 MB / 453.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2822, allocations: 9.781 kB / 453.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.587e-05/0.2822, allocations: 66.38 kB / 453.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.2823, allocations: 33.31 kB / 453.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.2825, allocations: 214.8 kB / 453.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.2825, allocations: 20.19 kB / 453.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.2826, allocations: 29.06 kB / 453.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.2831, allocations: 320.2 kB / 453.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2831, allocations: 11.88 kB / 453.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.2832, allocations: 10.88 kB / 453.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2832, allocations: 7.094 kB / 453.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005292/0.2837, allocations: 334.9 kB / 454.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.2852, allocations: 1.067 MB / 455.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.2855, allocations: 167.1 kB / 455.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.2857, allocations: 107.2 kB / 455.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.2857, allocations: 1.375 kB / 455.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.2857, allocations: 37.09 kB / 455.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.785e-06/0.2857, allocations: 0 / 455.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005919/0.2863, allocations: 361 kB / 455.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.2864, allocations: 52.56 kB / 456 MB, free: 12.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.2867, allocations: 282.6 kB / 456.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.2867, allocations: 26.52 kB / 456.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2868, allocations: 174.4 kB / 456.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.2869, allocations: 44.83 kB / 456.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.287, allocations: 40.36 kB / 456.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2871, allocations: 333.3 kB / 456.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.2873, allocations: 100.3 kB / 457 MB, free: 11.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.2875, allocations: 111.8 kB / 457.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.2878, allocations: 208.5 kB / 457.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2878, allocations: 4 kB / 457.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004261/0.2882, allocations: 273 kB / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2883, allocations: 5.375 kB / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2883, allocations: 5.125 kB / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.2883, allocations: 5.062 kB / 457.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.2885, allocations: 37.84 kB / 457.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2885, allocations: 1.031 kB / 457.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.2886, allocations: 24.34 kB / 457.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.2887, allocations: 3.969 kB / 457.6 MB, free: 11.5 MB / 334.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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.2888, allocations: 143.4 kB / 457.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.2889, allocations: 22.92 kB / 457.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.683e-05/0.289, allocations: 44.75 kB / 457.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.289, allocations: 5.031 kB / 457.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.289, allocations: 1.531 kB / 457.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.289, allocations: 0 / 457.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.29, allocations: 0.7672 MB / 458.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.29, allocations: 0 / 458.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.2902, allocations: 27.3 kB / 458.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2902, allocations: 2.219 kB / 458.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.2902, allocations: 6.406 kB / 458.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.2902, allocations: 5.125 kB / 458.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2902, allocations: 7.875 kB / 458.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.2907, allocations: 364.2 kB / 459 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.2907, allocations: 107.6 kB / 459.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.2908, allocations: 5.875 kB / 459.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.2909, allocations: 5 kB / 459.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.2909, allocations: 17.42 kB / 459.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.291, allocations: 7.734 kB / 459.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.2912, allocations: 200.8 kB / 459.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2912, allocations: 1.188 kB / 459.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.2915, allocations: 50.83 kB / 459.4 MB, free: 10.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006953/0.2922, allocations: 0.9102 MB / 460.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003788/0.2926, allocations: 218.3 kB / 460.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.2926, allocations: 4 kB / 460.5 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.2927, allocations: 113.1 kB / 460.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.293, allocations: 17.33 kB / 460.7 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.2965, allocations: 2.75 MB / 463.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.2968, allocations: 0.7469 MB / 464.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006755/0.2975, allocations: 0.4949 MB / 464.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.2976, allocations: 83.39 kB / 464.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2977, allocations: 0 / 464.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.3173, allocations: 4.835 MB / 469.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/7.932, allocations: 11.94 kB / 469.6 MB, free: 0.9766 MB / 334.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches