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.0008868/0.0008868, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005829/0.00583, allocations: 169 kB / 16.26 MB, free: 6.652 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.212/1.212, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05585/0.05585, allocations: 14.16 MB / 284.9 MB, free: 7.023 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.000447/0.000447, allocations: 15.98 kB / 348.9 MB, free: 17.36 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07664/0.07709, allocations: 51.11 MB / 400 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.001971/0.0791, allocations: 1.791 MB / 401.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006991/0.07982, allocations: 443.1 kB / 402.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.0799, allocations: 8 kB / 402.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.08011, allocations: 83.7 kB / 402.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.08027, allocations: 43.78 kB / 402.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.08074, allocations: 239 kB / 402.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.08101, allocations: 207.5 kB / 402.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.0812, allocations: 129.4 kB / 403 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.618e-05/0.08126, allocations: 59.55 kB / 403 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.08136, allocations: 83.42 kB / 403.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.08139, allocations: 12 kB / 403.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.0815, allocations: 55.97 kB / 403.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.08154, allocations: 31.8 kB / 403.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.276e-05/0.08163, allocations: 132.9 kB / 403.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.08198, allocations: 358.7 kB / 403.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.08199, allocations: 0 / 403.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.082, allocations: 0 / 403.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.082, allocations: 0 / 403.7 MB, free: 10.55 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.001783/0.08379, allocations: 0.7176 MB / 404.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.08384, allocations: 20.02 kB / 404.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.462e-05/0.08392, allocations: 62.67 kB / 404.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.08399, allocations: 32.56 kB / 404.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.08416, allocations: 211.8 kB / 404.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.0842, allocations: 20.94 kB / 404.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.08424, allocations: 24.38 kB / 404.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.08482, allocations: 377.3 kB / 405.1 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.08484, allocations: 3.938 kB / 405.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.08488, allocations: 12 kB / 405.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.08489, allocations: 8 kB / 405.1 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.08547, allocations: 390.1 kB / 405.5 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.08692, allocations: 1.095 MB / 406.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.08731, allocations: 246.7 kB / 406.9 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.08757, allocations: 184.8 kB / 407 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.0876, allocations: 4 kB / 407 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.08763, allocations: 38.55 kB / 407.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.08764, allocations: 0 / 407.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.0008826/0.08852, allocations: 0.5618 MB / 407.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.08856, allocations: 51.41 kB / 407.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.08883, allocations: 258.6 kB / 407.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.08887, allocations: 37.7 kB / 408 MB, free: 6.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.08898, allocations: 152.4 kB / 408.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/0.08905, allocations: 94.55 kB / 408.2 MB, free: 5.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.08912, allocations: 29.7 kB / 408.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.08924, allocations: 342.8 kB / 408.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.0895, allocations: 156 kB / 408.7 MB, free: 5.242 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.08977, allocations: 197.6 kB / 408.9 MB, free: 5.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/0.09028, allocations: 357.6 kB / 409.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.09029, allocations: 7.922 kB / 409.3 MB, free: 4.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005969/0.09089, allocations: 421.2 kB / 409.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.09091, allocations: 4 kB / 409.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.09092, allocations: 0 / 409.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.09094, allocations: 0 / 409.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.09113, allocations: 35.92 kB / 409.7 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.09115, allocations: 3.938 kB / 409.7 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.09127, allocations: 23.81 kB / 409.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.0913, allocations: 11.98 kB / 409.8 MB, free: 4.184 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.0001473/0.09145, allocations: 154.9 kB / 409.9 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.09151, allocations: 31.56 kB / 410 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.0916, allocations: 34.95 kB / 410 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.09162, allocations: 8 kB / 410 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.09163, allocations: 3.938 kB / 410 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.09164, allocations: 3.984 kB / 410 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.09218, allocations: 0.505 MB / 410.5 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.09219, allocations: 4 kB / 410.5 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.09233, allocations: 23.98 kB / 410.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.09235, allocations: 8 kB / 410.5 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.09237, allocations: 7.938 kB / 410.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.09238, allocations: 7.984 kB / 410.6 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.09239, allocations: 3.938 kB / 410.6 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.09302, allocations: 0.503 MB / 411.1 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.0931, allocations: 112.7 kB / 411.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.09314, allocations: 4 kB / 411.2 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.09327, allocations: 8 kB / 411.2 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.09332, allocations: 15.97 kB / 411.2 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.09335, allocations: 12 kB / 411.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.09353, allocations: 190 kB / 411.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09354, allocations: 0 / 411.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.09382, allocations: 51.91 kB / 411.5 MB, free: 2.406 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.0009528/0.09478, allocations: 1.052 MB / 412.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006293/0.09542, allocations: 375.9 kB / 412.9 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.09544, allocations: 0 / 412.9 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.09573, allocations: 199.8 kB / 413.1 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.09601, allocations: 18.75 kB / 413.1 MB, free: 0.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.09974, allocations: 3.287 MB / 416.4 MB, free: 13.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1, allocations: 0.7593 MB / 417.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005542/0.1006, allocations: 0.4963 MB / 417.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.1008, allocations: 83.41 kB / 417.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.1008, allocations: 0 / 417.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.116, allocations: 5.822 MB / 423.5 MB, free: 6.27 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.1162, allocations: 212.2 kB / 423.7 MB, free: 6.008 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.02, allocations: 3.938 kB / 423.7 MB, free: 6.004 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