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.001773/0.001773, allocations: 108 kB / 15.61 MB, free: 148 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.002375/0.002375, allocations: 196.8 kB / 16.53 MB, free: 6.656 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.455/1.455, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06232/0.06232, allocations: 14.16 MB / 283.9 MB, free: 7.074 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.001714/0.001714, allocations: 78.72 kB / 347.3 MB, free: 17.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.108, allocations: 50.12 MB / 397.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.003116/0.1112, allocations: 1.929 MB / 399.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006628/0.1119, allocations: 375.5 kB / 399.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.345e-05/0.112, allocations: 8 kB / 399.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.1122, allocations: 67.59 kB / 399.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.1124, allocations: 39.66 kB / 399.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.1128, allocations: 223.1 kB / 400 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.1131, allocations: 167.5 kB / 400.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.1133, allocations: 90.34 kB / 400.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.226e-05/0.1133, allocations: 55.72 kB / 400.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.1134, allocations: 67.64 kB / 400.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.1135, allocations: 20 kB / 400.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1136, allocations: 47.98 kB / 400.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.1136, allocations: 39.84 kB / 400.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.1137, allocations: 79.55 kB / 400.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.114, allocations: 235.2 kB / 400.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.114, allocations: 8 kB / 400.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.114, allocations: 0 / 400.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.114, allocations: 0 / 400.8 MB, free: 11.59 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001095/0.1151, allocations: 0.526 MB / 401.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1152, allocations: 16.03 kB / 401.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.1152, allocations: 54.67 kB / 401.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.1153, allocations: 20.75 kB / 401.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.1156, allocations: 228.8 kB / 401.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1156, allocations: 12.38 kB / 401.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.1156, allocations: 16.38 kB / 401.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.116, allocations: 166.7 kB / 401.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.116, allocations: 7.922 kB / 401.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.116, allocations: 4 kB / 401.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.116, allocations: 4 kB / 401.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.1162, allocations: 135.7 kB / 402 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009588/0.1172, allocations: 0.6715 MB / 402.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.1173, allocations: 62.56 kB / 402.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.1174, allocations: 28.98 kB / 402.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.1174, allocations: 4 kB / 402.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1175, allocations: 34.56 kB / 402.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.1175, allocations: 3.938 kB / 402.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002552/0.1177, allocations: 121.4 kB / 402.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1178, allocations: 51.41 kB / 403 MB, free: 9.242 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.118, allocations: 261 kB / 403.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.118, allocations: 25.7 kB / 403.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.1181, allocations: 139.9 kB / 403.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.1182, allocations: 19.73 kB / 403.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.1182, allocations: 29.62 kB / 403.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1183, allocations: 326.8 kB / 403.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.949e-05/0.1184, allocations: 31.98 kB / 403.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.194e-05/0.1185, allocations: 28 kB / 403.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1186, allocations: 72.78 kB / 403.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1186, allocations: 4 kB / 403.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001779/0.1188, allocations: 117.9 kB / 404 MB, free: 8.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1188, allocations: 11.88 kB / 404 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1188, allocations: 4 kB / 404 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1188, allocations: 8 kB / 404 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1189, allocations: 8 kB / 404 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.119, allocations: 8.062 kB / 404 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.119, allocations: 7.844 kB / 404.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.119, allocations: 4 kB / 404.1 MB, free: 8.109 MB / 302.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 9.423e-05/0.1191, allocations: 134.9 kB / 404.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.1192, allocations: 23.66 kB / 404.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.1192, allocations: 17.31 kB / 404.2 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1192, allocations: 4 kB / 404.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1193, allocations: 4 kB / 404.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1193, allocations: 3.984 kB / 404.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007489/0.12, allocations: 0.5017 MB / 404.7 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.12, allocations: 0 / 404.7 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-05/0.1201, allocations: 11.98 kB / 404.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1201, allocations: 12.09 kB / 404.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.1201, allocations: 0 / 404.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1201, allocations: 4 kB / 404.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1201, allocations: 0 / 404.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1204, allocations: 270.6 kB / 405 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.1205, allocations: 100.8 kB / 405.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1205, allocations: 0 / 405.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.1206, allocations: 8 kB / 405.1 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.1207, allocations: 3.984 kB / 405.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1207, allocations: 7.938 kB / 405.1 MB, free: 6.887 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1208, allocations: 188.5 kB / 405.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1208, allocations: 0 / 405.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1211, allocations: 24.06 kB / 405.4 MB, free: 6.68 MB / 302.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.0005149/0.1216, allocations: 0.8094 MB / 406.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.1218, allocations: 67.92 kB / 406.2 MB, free: 5.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1218, allocations: 0 / 406.2 MB, free: 5.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.171e-05/0.1219, allocations: 31.94 kB / 406.3 MB, free: 5.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1222, allocations: 33.47 kB / 406.3 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.1247, allocations: 2.151 MB / 408.4 MB, free: 3.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.125, allocations: 0.724 MB / 409.2 MB, free: 2.699 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.707e-05/0.1251, allocations: 13.08 kB / 409.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/0.1252, allocations: 55.42 kB / 409.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1252, allocations: 0 / 409.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.1469, allocations: 3.492 MB / 412.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/7.811, allocations: 4.062 kB / 412.7 MB, free: 15.16 MB / 318.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