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.001544/0.001544, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001455/0.001455, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.361/1.361, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05941/0.05941, allocations: 14.15 MB / 283.6 MB, free: 7.234 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.001406/0.001407, allocations: 71.27 kB / 346.7 MB, free: 17.58 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.1008, allocations: 50.13 MB / 396.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.004214/0.1051, allocations: 2.149 MB / 399 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008309/0.106, allocations: 447.1 kB / 399.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-05/0.1061, allocations: 12 kB / 399.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.1064, allocations: 83.64 kB / 399.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.1067, allocations: 39.78 kB / 399.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.1072, allocations: 235.3 kB / 399.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.1075, allocations: 227.4 kB / 400 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.1078, allocations: 132.7 kB / 400.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.1079, allocations: 99.58 kB / 400.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.108, allocations: 115.4 kB / 400.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.108, allocations: 32 kB / 400.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.1082, allocations: 75.98 kB / 400.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.1083, allocations: 67.7 kB / 400.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1084, allocations: 139.2 kB / 400.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005291/0.109, allocations: 378.9 kB / 401.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.109, allocations: 3.984 kB / 401.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.109, allocations: 0 / 401.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.109, allocations: 4 kB / 401.1 MB, free: 11.18 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.002252/0.1113, allocations: 0.7837 MB / 401.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.1113, allocations: 8.031 kB / 401.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.262e-05/0.1114, allocations: 66.72 kB / 401.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.1115, allocations: 32.56 kB / 402 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.1118, allocations: 219.7 kB / 402.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.1118, allocations: 16.94 kB / 402.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.1118, allocations: 24.38 kB / 402.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.1125, allocations: 369.4 kB / 402.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1125, allocations: 3.938 kB / 402.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/0.1126, allocations: 8 kB / 402.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.1126, allocations: 11.98 kB / 402.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006182/0.1132, allocations: 382.1 kB / 403 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.1151, allocations: 1.107 MB / 404.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.1155, allocations: 250.7 kB / 404.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.1158, allocations: 184.8 kB / 404.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.1158, allocations: 4 kB / 404.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1159, allocations: 42.5 kB / 404.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/0.1159, allocations: 0 / 404.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.0009804/0.1169, allocations: 0.5617 MB / 405.1 MB, free: 6.961 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1169, allocations: 55.39 kB / 405.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.1172, allocations: 262.6 kB / 405.4 MB, free: 6.629 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.1172, allocations: 33.7 kB / 405.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.1173, allocations: 152.4 kB / 405.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-05/0.1174, allocations: 94.55 kB / 405.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.1175, allocations: 53.64 kB / 405.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1177, allocations: 334.8 kB / 406.1 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.118, allocations: 164 kB / 406.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.1183, allocations: 190.5 kB / 406.4 MB, free: 5.598 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.1188, allocations: 365.6 kB / 406.8 MB, free: 5.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1189, allocations: 0 / 406.8 MB, free: 5.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006424/0.1195, allocations: 429 kB / 407.2 MB, free: 4.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1195, allocations: 11.94 kB / 407.2 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1195, allocations: 0 / 407.2 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1196, allocations: 0 / 407.2 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1198, allocations: 31.98 kB / 407.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1198, allocations: 3.938 kB / 407.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.1199, allocations: 15.75 kB / 407.3 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.1199, allocations: 15.98 kB / 407.3 MB, free: 4.73 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 (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0001701/0.1201, allocations: 158.8 kB / 407.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.1202, allocations: 23.72 kB / 407.4 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.852e-05/0.1203, allocations: 34.95 kB / 407.5 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.1203, allocations: 8 kB / 407.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.1203, allocations: 3.938 kB / 407.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1203, allocations: 0 / 407.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006657/0.121, allocations: 0.5088 MB / 408 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.121, allocations: 0 / 408 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.1212, allocations: 27.98 kB / 408 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1212, allocations: 11.88 kB / 408 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.1212, allocations: 8 kB / 408.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1212, allocations: 0 / 408.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1212, allocations: 3.938 kB / 408.1 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/0.1221, allocations: 0.5031 MB / 408.6 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.98e-05/0.1222, allocations: 116.6 kB / 408.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.1222, allocations: 4 kB / 408.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.1224, allocations: 0 / 408.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.1224, allocations: 19.98 kB / 408.7 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.1225, allocations: 15.98 kB / 408.7 MB, free: 3.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.1227, allocations: 190 kB / 408.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1227, allocations: 0 / 408.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.123, allocations: 48 kB / 408.9 MB, free: 2.961 MB / 302.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 (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.001338/0.1244, allocations: 1.056 MB / 410 MB, free: 1.879 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000766/0.1252, allocations: 394.3 kB / 410.4 MB, free: 1.496 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.1252, allocations: 0 / 410.4 MB, free: 1.496 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.1255, allocations: 199.8 kB / 410.6 MB, free: 1.301 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1259, allocations: 16.56 kB / 410.6 MB, free: 1.285 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/0.1306, allocations: 3.284 MB / 413.9 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.131, allocations: 0.7593 MB / 414.6 MB, free: 13.13 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005817/0.1316, allocations: 0.4962 MB / 415.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.1317, allocations: 91.39 kB / 415.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1317, allocations: 0 / 415.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.1498, allocations: 6.13 MB / 421.4 MB, free: 6.477 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.15, allocations: 209.1 kB / 421.6 MB, free: 6.219 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/1.939, allocations: 3.938 kB / 421.6 MB, free: 6.215 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","../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches