Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.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.TestTerminalVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE",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.007951/0.007951, allocations: 99.06 kB / 15.73 MB, free: 6.059 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.001865/0.001865, allocations: 189 kB / 16.67 MB, free: 5.969 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.374/1.374, allocations: 205.1 MB / 222.6 MB, free: 4.312 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06508/0.06508, allocations: 14.17 MB / 284.1 MB, free: 6.863 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.001598/0.001598, allocations: 67.91 kB / 398.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2776, allocations: 50.14 MB / 448.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.003912/0.2816, allocations: 1.915 MB / 450.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008023/0.2824, allocations: 379.1 kB / 450.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.2826, allocations: 4.125 kB / 450.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.2828, allocations: 64.41 kB / 450.6 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.2831, allocations: 42.53 kB / 450.6 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.2837, allocations: 232.4 kB / 450.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.284, allocations: 163.4 kB / 451 MB, free: 464 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.2842, allocations: 79.5 kB / 451.1 MB, free: 420 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.2843, allocations: 63.98 kB / 451.2 MB, free: 372 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.641e-05/0.2844, allocations: 71.02 kB / 451.2 MB, free: 312 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.2844, allocations: 16.88 kB / 451.3 MB, free: 312 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.2846, allocations: 57.73 kB / 451.3 MB, free: 292 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.2846, allocations: 37.36 kB / 451.4 MB, free: 260 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.525e-05/0.2847, allocations: 84.38 kB / 451.4 MB, free: 188 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.2851, allocations: 234.3 kB / 451.7 MB, free: 20 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2851, allocations: 1.062 kB / 451.7 MB, free: 20 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2851, allocations: 0 / 451.7 MB, free: 20 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.2851, allocations: 3.938 kB / 451.7 MB, free: 16 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001427/0.2866, allocations: 0.5443 MB / 452.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.2866, allocations: 9.844 kB / 452.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.411e-05/0.2867, allocations: 52.2 kB / 452.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.618e-05/0.2868, allocations: 23.05 kB / 452.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.2872, allocations: 232.7 kB / 452.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.2872, allocations: 11.84 kB / 452.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.2872, allocations: 19.88 kB / 452.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.2877, allocations: 171.2 kB / 452.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2877, allocations: 3.938 kB / 452.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.2878, allocations: 5.25 kB / 452.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2878, allocations: 4.125 kB / 452.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.2881, allocations: 128.4 kB / 452.9 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.2895, allocations: 0.6617 MB / 453.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.2897, allocations: 62.56 kB / 453.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/0.2898, allocations: 32.67 kB / 453.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.2899, allocations: 1.062 kB / 453.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.2899, allocations: 35.62 kB / 453.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 4.378e-06/0.2899, allocations: 3.984 kB / 453.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.000393/0.2903, allocations: 126 kB / 453.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.2904, allocations: 60.7 kB / 453.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.2908, allocations: 256.1 kB / 454.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2908, allocations: 26.8 kB / 454.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.291, allocations: 141.1 kB / 454.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.291, allocations: 14.23 kB / 454.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.2911, allocations: 23.38 kB / 454.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2913, allocations: 331.5 kB / 454.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.9e-05/0.2914, allocations: 33.47 kB / 454.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.054e-05/0.2915, allocations: 38.83 kB / 454.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.2916, allocations: 66.55 kB / 454.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2917, allocations: 0 / 454.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002857/0.292, allocations: 120.2 kB / 454.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.292, allocations: 9.469 kB / 454.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.292, allocations: 0 / 454.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.292, allocations: 1 kB / 454.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2922, allocations: 14.17 kB / 454.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.2922, allocations: 1.125 kB / 454.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.2923, allocations: 27.64 kB / 454.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.2923, allocations: 5.469 kB / 454.9 MB, free: 13.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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.0001385/0.2925, allocations: 126.5 kB / 455 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.2926, allocations: 24.17 kB / 455.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.744e-05/0.2926, allocations: 22.08 kB / 455.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2926, allocations: 1.156 kB / 455.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2926, allocations: 0 / 455.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2927, allocations: 1.188 kB / 455.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.2938, allocations: 0.5094 MB / 455.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.2938, allocations: 5.453 kB / 455.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.927e-05/0.2939, allocations: 7.469 kB / 455.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.2939, allocations: 1.438 kB / 455.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.2939, allocations: 2.75 kB / 455.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2939, allocations: 1.438 kB / 455.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.2939, allocations: 1.312 kB / 455.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.2944, allocations: 273.9 kB / 455.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.2945, allocations: 98.53 kB / 456 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.2945, allocations: 5.016 kB / 456 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.2947, allocations: 6.375 kB / 456 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.2947, allocations: 5.969 kB / 456 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.2947, allocations: 11.31 kB / 456 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.295, allocations: 187.9 kB / 456.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.295, allocations: 0 / 456.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004613/0.2955, allocations: 19.25 kB / 456.2 MB, free: 12.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (terminalVoltageTransducer.firstOrder.y) * 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 (5): * Single equations (assignments): 5 * 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.0008315/0.2963, allocations: 0.8042 MB / 457 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.2966, allocations: 79.27 kB / 457.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2966, allocations: 3.938 kB / 457.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.039e-05/0.2967, allocations: 31.58 kB / 457.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.2973, allocations: 39 kB / 457.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.3009, allocations: 2.144 MB / 459.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.3013, allocations: 0.7245 MB / 460 MB, free: 8.789 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.3014, allocations: 12.95 kB / 460.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.3016, allocations: 54.08 kB / 460.1 MB, free: 8.738 MB / 334.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3016, allocations: 0 / 460.1 MB, free: 8.738 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.3315, allocations: 3.563 MB / 463.7 MB, free: 6.832 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.392, allocations: 10.12 kB / 463.7 MB, free: 6.824 MB / 334.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_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_TestTerminalVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches