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.005301/0.005301, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001331/0.001331, allocations: 197.9 kB / 16.67 MB, free: 5.973 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.524/1.524, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06748/0.06748, allocations: 14.18 MB / 284.1 MB, free: 6.992 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.002051/0.002051, allocations: 75.89 kB / 398.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2604, allocations: 50.14 MB / 448.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.00289/0.2633, allocations: 2.11 MB / 450.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008483/0.2642, allocations: 460.1 kB / 450.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2644, allocations: 6.562 kB / 450.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.2647, allocations: 100.2 kB / 450.9 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.2649, allocations: 56.69 kB / 451 MB, free: 484 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.2654, allocations: 250.4 kB / 451.2 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.2657, allocations: 259.1 kB / 451.5 MB, free: 128 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.2659, allocations: 134.4 kB / 451.6 MB, free: 52 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.944e-05/0.266, allocations: 90.89 kB / 451.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.2662, allocations: 110.7 kB / 451.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.2662, allocations: 31.5 kB / 451.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.2664, allocations: 78.92 kB / 451.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.2665, allocations: 54.72 kB / 452 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.2666, allocations: 135.8 kB / 452.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.2671, allocations: 382.2 kB / 452.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2671, allocations: 0 / 452.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2671, allocations: 0 / 452.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2671, allocations: 0 / 452.5 MB, free: 15.43 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.001824/0.2689, allocations: 0.7459 MB / 453.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.269, allocations: 10.31 kB / 453.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.351e-05/0.2691, allocations: 63.22 kB / 453.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.062e-05/0.2691, allocations: 32.72 kB / 453.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.2694, allocations: 226.7 kB / 453.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.2694, allocations: 20.09 kB / 453.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.2695, allocations: 25.56 kB / 453.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.27, allocations: 323.8 kB / 453.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.27, allocations: 9.281 kB / 453.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.2701, allocations: 9.438 kB / 453.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2701, allocations: 6.938 kB / 453.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005774/0.2707, allocations: 336 kB / 454.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.2724, allocations: 1.067 MB / 455.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.2727, allocations: 167.7 kB / 455.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.2729, allocations: 110.6 kB / 455.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.273, allocations: 6.281 kB / 455.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.273, allocations: 35.66 kB / 455.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.273, allocations: 0 / 455.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006754/0.2737, allocations: 352.8 kB / 456 MB, free: 12.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.2738, allocations: 58.16 kB / 456 MB, free: 12.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.2741, allocations: 278 kB / 456.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.2741, allocations: 31.05 kB / 456.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.2743, allocations: 173.9 kB / 456.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.2743, allocations: 48.86 kB / 456.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.2744, allocations: 32.27 kB / 456.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.2746, allocations: 341.4 kB / 456.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.2748, allocations: 96.36 kB / 457 MB, free: 11.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.275, allocations: 115 kB / 457.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.2753, allocations: 213.2 kB / 457.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2753, allocations: 0 / 457.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004402/0.2758, allocations: 269.2 kB / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2758, allocations: 6.844 kB / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2758, allocations: 0 / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2758, allocations: 7.938 kB / 457.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.276, allocations: 37.52 kB / 457.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2761, allocations: 2.406 kB / 457.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.2762, allocations: 19.59 kB / 457.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.2762, allocations: 12.02 kB / 457.7 MB, free: 11.49 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.0001532/0.2764, allocations: 139.9 kB / 457.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.2764, allocations: 23.83 kB / 457.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.084e-05/0.2765, allocations: 31.92 kB / 457.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.2765, allocations: 9.25 kB / 457.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2765, allocations: 1.344 kB / 457.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2766, allocations: 0 / 457.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.2776, allocations: 0.7665 MB / 458.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2776, allocations: 1.312 kB / 458.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.2778, allocations: 26.39 kB / 458.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.2778, allocations: 6.172 kB / 458.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.2778, allocations: 6.156 kB / 458.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.2778, allocations: 5.062 kB / 458.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.2778, allocations: 9 kB / 458.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.2783, allocations: 368 kB / 459.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.2784, allocations: 115.7 kB / 459.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.2785, allocations: 1.844 kB / 459.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.2786, allocations: 5.312 kB / 459.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.2786, allocations: 12.67 kB / 459.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.2787, allocations: 8.656 kB / 459.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002154/0.2789, allocations: 209.2 kB / 459.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2789, allocations: 0 / 459.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.2792, allocations: 47.05 kB / 459.4 MB, free: 10.06 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.0008366/0.28, allocations: 0.9098 MB / 460.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.2805, allocations: 222.7 kB / 460.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2805, allocations: 0 / 460.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.2807, allocations: 117.5 kB / 460.7 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.2809, allocations: 17.61 kB / 460.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.2845, allocations: 2.76 MB / 463.5 MB, free: 6.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.285, allocations: 0.7503 MB / 464.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007102/0.2857, allocations: 0.4884 MB / 464.7 MB, free: 5.875 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.2858, allocations: 83.41 kB / 464.8 MB, free: 5.793 MB / 334.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2859, allocations: 0 / 464.8 MB, free: 5.793 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.3139, allocations: 4.826 MB / 469.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.298, allocations: 15.75 kB / 469.6 MB, free: 0.9531 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 & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.csv","/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