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.001314/0.001314, 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.001368/0.001368, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.308/1.308, allocations: 205.1 MB / 222.4 MB, free: 4.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06265/0.06265, allocations: 14.16 MB / 283.9 MB, free: 7.09 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.002506/0.002506, allocations: 74.56 kB / 347.3 MB, free: 17.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08853/0.09106, allocations: 50.13 MB / 397.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.00345/0.09456, allocations: 2.104 MB / 399.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008638/0.09544, allocations: 463 kB / 400 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.09562, allocations: 4 kB / 400 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.09593, allocations: 95.44 kB / 400.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.09615, allocations: 71.47 kB / 400.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.0967, allocations: 255 kB / 400.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.09704, allocations: 247.4 kB / 400.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.09725, allocations: 136.8 kB / 400.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.965e-05/0.09733, allocations: 87.59 kB / 400.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.09745, allocations: 115.4 kB / 401 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.0975, allocations: 28 kB / 401 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.09763, allocations: 79.91 kB / 401.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.0977, allocations: 55.78 kB / 401.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.894e-05/0.0978, allocations: 127.3 kB / 401.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.09818, allocations: 374.9 kB / 401.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.09819, allocations: 0 / 401.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0982, allocations: 0 / 401.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.09821, allocations: 0 / 401.6 MB, free: 10.82 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.00175/0.09996, allocations: 0.7408 MB / 402.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1, allocations: 12.03 kB / 402.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.579e-05/0.1001, allocations: 58.73 kB / 402.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.1002, allocations: 36.5 kB / 402.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.1003, allocations: 215.7 kB / 402.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.1004, allocations: 20.94 kB / 402.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.1004, allocations: 28.38 kB / 402.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.101, allocations: 313.4 kB / 403 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.101, allocations: 15.92 kB / 403 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.101, allocations: 8 kB / 403 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.1011, allocations: 8 kB / 403 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.1016, allocations: 334.1 kB / 403.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.1033, allocations: 1.072 MB / 404.4 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.1036, allocations: 170.5 kB / 404.6 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.1038, allocations: 104.8 kB / 404.7 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1038, allocations: 4 kB / 404.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1039, allocations: 38.56 kB / 404.8 MB, free: 7.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.1039, allocations: 0 / 404.8 MB, free: 7.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006291/0.1045, allocations: 345.5 kB / 405.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.1046, allocations: 63.34 kB / 405.2 MB, free: 7.066 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.1049, allocations: 279 kB / 405.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.1049, allocations: 25.7 kB / 405.4 MB, free: 6.754 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.1051, allocations: 168.2 kB / 405.6 MB, free: 6.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.1051, allocations: 51.28 kB / 405.7 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.89e-05/0.1052, allocations: 41.69 kB / 405.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1054, allocations: 338.8 kB / 406 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.1056, allocations: 95.86 kB / 406.1 MB, free: 6.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.1058, allocations: 121.2 kB / 406.2 MB, free: 5.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.1061, allocations: 209.6 kB / 406.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1061, allocations: 3.938 kB / 406.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000412/0.1065, allocations: 265.3 kB / 406.7 MB, free: 5.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1066, allocations: 12 kB / 406.7 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1066, allocations: 0 / 406.7 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1066, allocations: 3.938 kB / 406.7 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1068, allocations: 35.91 kB / 406.8 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1068, allocations: 4 kB / 406.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1069, allocations: 19.78 kB / 406.8 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.107, allocations: 7.938 kB / 406.8 MB, free: 5.371 MB / 302.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.0001335/0.1071, allocations: 142.9 kB / 406.9 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.1072, allocations: 23.72 kB / 407 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.1072, allocations: 37.86 kB / 407 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1072, allocations: 3.938 kB / 407 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1072, allocations: 48 / 407 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1073, allocations: 11.97 kB / 407 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009459/0.1082, allocations: 0.7653 MB / 407.8 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1082, allocations: 0 / 407.8 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.1084, allocations: 23.98 kB / 407.8 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1084, allocations: 0 / 407.8 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.1084, allocations: 12.06 kB / 407.8 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1084, allocations: 0 / 407.8 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1084, allocations: 0 / 407.8 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.1089, allocations: 380.2 kB / 408.2 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.109, allocations: 104.8 kB / 408.3 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.109, allocations: 4 kB / 408.3 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1091, allocations: 8 kB / 408.3 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.1092, allocations: 11.98 kB / 408.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.1092, allocations: 7.984 kB / 408.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.1094, allocations: 206 kB / 408.5 MB, free: 3.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1094, allocations: 0 / 408.5 MB, free: 3.539 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.1097, allocations: 43.84 kB / 408.6 MB, free: 3.496 MB / 302.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.0007271/0.1105, allocations: 0.9129 MB / 409.5 MB, free: 2.547 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.1109, allocations: 227.9 kB / 409.7 MB, free: 2.324 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1109, allocations: 4 kB / 409.7 MB, free: 2.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.1111, allocations: 107.9 kB / 409.8 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.1113, allocations: 19.98 kB / 409.8 MB, free: 2.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.1144, allocations: 2.756 MB / 412.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1148, allocations: 0.7553 MB / 413.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005888/0.1154, allocations: 0.4932 MB / 413.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.1155, allocations: 83.39 kB / 413.9 MB, free: 13.99 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1155, allocations: 0 / 413.9 MB, free: 13.99 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7317/0.8473, allocations: 4.707 MB / 418.6 MB, free: 9.305 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.346/9.193, allocations: 15.44 kB / 418.6 MB, free: 9.293 MB / 318.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