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.005895/0.005895, allocations: 102.5 kB / 15.74 MB, free: 6.027 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.001416/0.001416, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.383/1.383, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06495/0.06495, allocations: 14.17 MB / 284.1 MB, free: 13.86 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.002038/0.002038, allocations: 70.8 kB / 398.1 MB, free: 42.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08087/0.08292, allocations: 50.13 MB / 448.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.003489/0.08645, allocations: 1.929 MB / 450.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.08726, allocations: 383.4 kB / 450.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.08738, allocations: 4 kB / 450.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.08764, allocations: 63.66 kB / 450.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.08782, allocations: 43.66 kB / 450.7 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.08837, allocations: 219.2 kB / 450.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.08874, allocations: 163.5 kB / 451 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.08895, allocations: 102.5 kB / 451.1 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.385e-05/0.08903, allocations: 55.72 kB / 451.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.08915, allocations: 71.58 kB / 451.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.08918, allocations: 20 kB / 451.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.08932, allocations: 47.98 kB / 451.3 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.08938, allocations: 43.89 kB / 451.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.264e-05/0.08947, allocations: 83.42 kB / 451.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.08986, allocations: 239.1 kB / 451.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.08988, allocations: 0 / 451.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.08989, allocations: 0 / 451.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.0899, allocations: 0 / 451.7 MB, free: 8.59 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001163/0.09106, allocations: 0.5415 MB / 452.2 MB, free: 7.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.09112, allocations: 8.031 kB / 452.2 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.37e-05/0.09119, allocations: 50.73 kB / 452.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.09124, allocations: 24.73 kB / 452.3 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.09166, allocations: 236 kB / 452.5 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.09169, allocations: 20.31 kB / 452.5 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.09173, allocations: 16.38 kB / 452.6 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.09207, allocations: 165.9 kB / 452.7 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.09209, allocations: 7.938 kB / 452.7 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.09212, allocations: 8 kB / 452.7 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.09213, allocations: 4 kB / 452.7 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.0924, allocations: 128 kB / 452.9 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.09355, allocations: 0.6602 MB / 453.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.09372, allocations: 58.58 kB / 453.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/0.09379, allocations: 32.97 kB / 453.6 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.09382, allocations: 0 / 453.6 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.09385, allocations: 34.56 kB / 453.7 MB, free: 6.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 3.436e-06/0.09387, allocations: 4 kB / 453.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002971/0.09418, allocations: 129.4 kB / 453.8 MB, free: 6.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.09422, allocations: 55.41 kB / 453.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.0945, allocations: 253 kB / 454.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.09454, allocations: 29.7 kB / 454.1 MB, free: 5.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.09465, allocations: 140 kB / 454.2 MB, free: 5.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.09467, allocations: 11.91 kB / 454.3 MB, free: 5.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.09473, allocations: 25.7 kB / 454.3 MB, free: 5.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.0949, allocations: 330.8 kB / 454.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.09497, allocations: 31.98 kB / 454.6 MB, free: 5.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.625e-05/0.09503, allocations: 28 kB / 454.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.09516, allocations: 72.78 kB / 454.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.09517, allocations: 0 / 454.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002036/0.09538, allocations: 125.5 kB / 454.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.0954, allocations: 7.938 kB / 454.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.09541, allocations: 0 / 454.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.09543, allocations: 4 kB / 454.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.09554, allocations: 12.25 kB / 454.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.09555, allocations: 3.938 kB / 454.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.09563, allocations: 19.83 kB / 454.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.09565, allocations: 4 kB / 454.9 MB, free: 5.113 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.0001287/0.09579, allocations: 133.7 kB / 455 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.09584, allocations: 27.78 kB / 455.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.09589, allocations: 17.31 kB / 455.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.09589, allocations: 0 / 455.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.09591, allocations: 4 kB / 455.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.09592, allocations: 4 kB / 455.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008144/0.09674, allocations: 0.5094 MB / 455.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.09675, allocations: 3.984 kB / 455.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.09683, allocations: 8 kB / 455.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.09686, allocations: 3.984 kB / 455.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.09687, allocations: 8.156 kB / 455.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.09688, allocations: 3.938 kB / 455.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.09689, allocations: 4 kB / 455.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.09725, allocations: 262.8 kB / 455.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.09734, allocations: 105 kB / 456 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.09737, allocations: 4 kB / 456 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.09746, allocations: 4 kB / 456 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.0975, allocations: 3.984 kB / 456 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.09751, allocations: 7.938 kB / 456 MB, free: 3.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.09772, allocations: 188.5 kB / 456.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.09773, allocations: 0 / 456.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.09799, allocations: 24 kB / 456.2 MB, free: 3.672 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.0006808/0.09868, allocations: 0.8017 MB / 457 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.09889, allocations: 75.92 kB / 457.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.0989, allocations: 0 / 457.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.09896, allocations: 31.94 kB / 457.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.09933, allocations: 34.69 kB / 457.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.1018, allocations: 2.139 MB / 459.3 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1022, allocations: 0.724 MB / 460 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.388e-05/0.1023, allocations: 13.08 kB / 460 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.546e-05/0.1024, allocations: 55.42 kB / 460.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of SimCode: time 2.725e-06/0.1024, allocations: 0 / 460.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.1286, allocations: 3.577 MB / 463.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/7.948, allocations: 0 / 463.7 MB, free: 12.12 MB / 350.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