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.005075/0.005075, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001251/0.001251, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.299/1.299, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07354/0.07354, allocations: 14.17 MB / 284.1 MB, free: 6.961 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.001654/0.001654, allocations: 71.89 kB / 398.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2662, allocations: 50.14 MB / 448.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.002489/0.2687, allocations: 1.918 MB / 450.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005711/0.2693, allocations: 386.9 kB / 450.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.545e-05/0.2694, allocations: 4.656 kB / 450.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.2696, allocations: 71.53 kB / 450.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.2698, allocations: 38.66 kB / 450.7 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.2702, allocations: 219.7 kB / 450.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.2705, allocations: 162.2 kB / 451 MB, free: 476 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.2706, allocations: 88.44 kB / 451.1 MB, free: 424 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.2707, allocations: 54.86 kB / 451.2 MB, free: 384 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.2708, allocations: 75.94 kB / 451.2 MB, free: 320 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.2709, allocations: 17.88 kB / 451.3 MB, free: 320 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.271, allocations: 53.05 kB / 451.3 MB, free: 304 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.271, allocations: 41.34 kB / 451.3 MB, free: 268 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.2711, allocations: 75.92 kB / 451.4 MB, free: 204 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.2714, allocations: 244.9 kB / 451.7 MB, free: 16 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2714, allocations: 0 / 451.7 MB, free: 16 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2714, allocations: 0 / 451.7 MB, free: 16 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2714, allocations: 4 kB / 451.7 MB, free: 12 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.000953/0.2724, allocations: 0.5288 MB / 452.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.2724, allocations: 9.625 kB / 452.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.2725, allocations: 56.23 kB / 452.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.2725, allocations: 26.28 kB / 452.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.2728, allocations: 233.3 kB / 452.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.2728, allocations: 15.66 kB / 452.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.2729, allocations: 14.59 kB / 452.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.2731, allocations: 168.9 kB / 452.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2732, allocations: 3.938 kB / 452.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.2732, allocations: 5.156 kB / 452.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2732, allocations: 4.75 kB / 452.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.2734, allocations: 139.6 kB / 452.9 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000888/0.2743, allocations: 0.654 MB / 453.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.2744, allocations: 58.27 kB / 453.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.2745, allocations: 40.31 kB / 453.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.2745, allocations: 1.156 kB / 453.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2746, allocations: 31.69 kB / 453.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.2746, allocations: 0 / 453.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002671/0.2748, allocations: 126.6 kB / 453.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.2749, allocations: 52.81 kB / 453.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.2751, allocations: 256.1 kB / 454.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.2751, allocations: 25.7 kB / 454.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/0.2752, allocations: 145.7 kB / 454.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.2753, allocations: 13.97 kB / 454.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.2753, allocations: 23.14 kB / 454.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.2754, allocations: 327.3 kB / 454.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.2755, allocations: 38.45 kB / 454.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.857e-05/0.2755, allocations: 27.06 kB / 454.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.2757, allocations: 70.5 kB / 454.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2757, allocations: 3.938 kB / 454.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000175/0.2758, allocations: 128.1 kB / 454.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2759, allocations: 12.48 kB / 454.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2759, allocations: 1.125 kB / 454.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2759, allocations: 0 / 454.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.276, allocations: 15.16 kB / 454.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.276, allocations: 0 / 454.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.282e-05/0.2761, allocations: 19.47 kB / 454.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.2761, allocations: 2.812 kB / 454.9 MB, free: 13.27 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 9.009e-05/0.2762, allocations: 129.6 kB / 455 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.2763, allocations: 23.5 kB / 455 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.2763, allocations: 22.55 kB / 455.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2763, allocations: 1.281 kB / 455.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2763, allocations: 0 / 455.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2763, allocations: 1.094 kB / 455.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.277, allocations: 0.5096 MB / 455.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.277, allocations: 0.8438 kB / 455.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.2771, allocations: 8.156 kB / 455.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2771, allocations: 1.375 kB / 455.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.2771, allocations: 6.672 kB / 455.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2771, allocations: 1.281 kB / 455.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2771, allocations: 5.375 kB / 455.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.2774, allocations: 264.9 kB / 455.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.2775, allocations: 98.62 kB / 456 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.2775, allocations: 5.75 kB / 456 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.2776, allocations: 5.875 kB / 456 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.2776, allocations: 7.391 kB / 456 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.2776, allocations: 14.28 kB / 456 MB, free: 12.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.2778, allocations: 188.2 kB / 456.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2778, allocations: 0 / 456.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.2781, allocations: 23.16 kB / 456.2 MB, free: 12.1 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.0005407/0.2786, allocations: 0.8042 MB / 457 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.2788, allocations: 66.23 kB / 457.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2788, allocations: 1.062 kB / 457.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.438e-05/0.2789, allocations: 35.16 kB / 457.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.2792, allocations: 26.58 kB / 457.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.2814, allocations: 2.15 MB / 459.3 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.2817, allocations: 0.7192 MB / 460 MB, free: 8.816 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.288e-05/0.2817, allocations: 17.92 kB / 460 MB, free: 8.809 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.2818, allocations: 50.11 kB / 460.1 MB, free: 8.766 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2818, allocations: 0 / 460.1 MB, free: 8.766 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.3039, allocations: 3.611 MB / 463.7 MB, free: 6.836 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.792, allocations: 8.297 kB / 463.7 MB, free: 6.832 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/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