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.001295/0.001295, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001282/0.001282, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.274/1.274, allocations: 205.1 MB / 222.1 MB, free: 4.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05809/0.05809, allocations: 14.15 MB / 283.6 MB, free: 7.258 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.001346/0.001346, allocations: 63.91 kB / 346.7 MB, free: 17.56 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.08099, allocations: 50.13 MB / 396.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.003263/0.0843, allocations: 1.97 MB / 398.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007103/0.08504, allocations: 367.5 kB / 399.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.87e-05/0.08516, allocations: 4 kB / 399.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.08539, allocations: 59.77 kB / 399.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.08556, allocations: 23.86 kB / 399.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.0861, allocations: 211.3 kB / 399.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.08637, allocations: 151.6 kB / 399.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.08654, allocations: 86.39 kB / 399.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.932e-05/0.0866, allocations: 63.66 kB / 399.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.0867, allocations: 75.58 kB / 399.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.08673, allocations: 16 kB / 399.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.08685, allocations: 67.98 kB / 399.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.0869, allocations: 47.83 kB / 400 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.08697, allocations: 79.55 kB / 400.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.08726, allocations: 251.2 kB / 400.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.08727, allocations: 4 kB / 400.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.08728, allocations: 0 / 400.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.08729, allocations: 0 / 400.3 MB, free: 11.92 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.001142/0.08844, allocations: 0.5533 MB / 400.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.08848, allocations: 12.03 kB / 400.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.08855, allocations: 54.72 kB / 400.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.0886, allocations: 20.75 kB / 401 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.08884, allocations: 228.8 kB / 401.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.08886, allocations: 12.31 kB / 401.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.08892, allocations: 20.38 kB / 401.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.08925, allocations: 186.9 kB / 401.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.08928, allocations: 7.938 kB / 401.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.0893, allocations: 4 kB / 401.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.08932, allocations: 8 kB / 401.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.08958, allocations: 155.5 kB / 401.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009404/0.09052, allocations: 0.6558 MB / 402.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.09079, allocations: 138.5 kB / 402.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.09092, allocations: 76.84 kB / 402.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.09095, allocations: 0 / 402.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.09098, allocations: 38.56 kB / 402.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.09099, allocations: 0 / 402.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004941/0.09148, allocations: 261 kB / 402.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.09153, allocations: 51.41 kB / 402.8 MB, free: 9.273 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.09176, allocations: 231.2 kB / 403 MB, free: 9.035 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.09178, allocations: 25.7 kB / 403 MB, free: 9.004 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.09188, allocations: 128 kB / 403.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.09193, allocations: 51.3 kB / 403.2 MB, free: 8.824 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.092, allocations: 25.72 kB / 403.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.09215, allocations: 334.8 kB / 403.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.09226, allocations: 63.98 kB / 403.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.09237, allocations: 67.98 kB / 403.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.09261, allocations: 156.8 kB / 403.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.09262, allocations: 0 / 403.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003122/0.09294, allocations: 197.3 kB / 404 MB, free: 7.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.09296, allocations: 8 kB / 404 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.09298, allocations: 3.938 kB / 404 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.09299, allocations: 0 / 404 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.09311, allocations: 15.98 kB / 404.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.09313, allocations: 0 / 404.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.0932, allocations: 15.84 kB / 404.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.09322, allocations: 0 / 404.1 MB, free: 7.93 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001276/0.09336, allocations: 146.8 kB / 404.2 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.09341, allocations: 19.72 kB / 404.2 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.09347, allocations: 25.52 kB / 404.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.09348, allocations: 0 / 404.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.09349, allocations: 3.984 kB / 404.3 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.0935, allocations: 0 / 404.3 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.09385, allocations: 321.4 kB / 404.6 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.09386, allocations: 3.984 kB / 404.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.707e-05/0.09396, allocations: 12 kB / 404.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.09397, allocations: 0 / 404.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.09399, allocations: 4 kB / 404.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.094, allocations: 3.984 kB / 404.6 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.094, allocations: 3.938 kB / 404.6 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.09452, allocations: 406.6 kB / 405 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/0.09461, allocations: 100.9 kB / 405.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.09465, allocations: 4 kB / 405.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.09474, allocations: 0 / 405.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.09477, allocations: 12.06 kB / 405.1 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.09479, allocations: 4 kB / 405.1 MB, free: 6.781 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.09493, allocations: 168.6 kB / 405.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09493, allocations: 0 / 405.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.09519, allocations: 20 kB / 405.3 MB, free: 6.598 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007864/0.09598, allocations: 0.9387 MB / 406.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.09633, allocations: 171.8 kB / 406.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.09634, allocations: 3.938 kB / 406.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.09647, allocations: 79.98 kB / 406.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.09684, allocations: 21.64 kB / 406.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.09954, allocations: 2.37 MB / 408.9 MB, free: 2.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.09984, allocations: 0.724 MB / 409.6 MB, free: 2.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.09991, allocations: 13.42 kB / 409.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.221e-05/0.1, allocations: 51.42 kB / 409.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1, allocations: 0 / 409.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.1297, allocations: 4.139 MB / 413.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.1299, allocations: 210.4 kB / 414 MB, free: 13.78 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/1.954, allocations: 0 / 414 MB, free: 13.78 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 & /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","../files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches