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.0008711/0.0008709, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005324/0.005324, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.209/1.209, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05681/0.05681, allocations: 14.16 MB / 284.9 MB, free: 7.043 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.0004874/0.0004874, allocations: 16 kB / 348.9 MB, free: 17.37 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0804/0.08089, allocations: 51.12 MB / 400 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.001818/0.08274, allocations: 1.628 MB / 401.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005828/0.08334, allocations: 343.6 kB / 402 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.08342, allocations: 4 kB / 402 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.08361, allocations: 63.77 kB / 402.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.08373, allocations: 23.86 kB / 402.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.08418, allocations: 215.3 kB / 402.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.08442, allocations: 139.6 kB / 402.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.08457, allocations: 79.2 kB / 402.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.08462, allocations: 35.8 kB / 402.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.412e-05/0.0847, allocations: 63.52 kB / 402.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.08473, allocations: 8 kB / 402.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.08484, allocations: 47.92 kB / 402.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.08487, allocations: 27.84 kB / 402.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.216e-05/0.08494, allocations: 89.25 kB / 402.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.0852, allocations: 227.2 kB / 403 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.08521, allocations: 0 / 403 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.08522, allocations: 0 / 403 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.08523, allocations: 0 / 403 MB, free: 11.21 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.001053/0.08629, allocations: 0.53 MB / 403.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.08633, allocations: 12.02 kB / 403.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.08639, allocations: 50.73 kB / 403.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.08644, allocations: 16.75 kB / 403.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.08666, allocations: 228 kB / 403.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.08669, allocations: 16.38 kB / 403.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.08673, allocations: 16.38 kB / 403.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.08705, allocations: 190.8 kB / 404.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.08707, allocations: 3.938 kB / 404.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.08709, allocations: 8 kB / 404.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.08711, allocations: 4 kB / 404.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.08736, allocations: 163.4 kB / 404.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008171/0.08818, allocations: 0.6597 MB / 404.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.08841, allocations: 130.5 kB / 405 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.08855, allocations: 88.36 kB / 405.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.08857, allocations: 0 / 405.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.0886, allocations: 30.56 kB / 405.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.0886, allocations: 0 / 405.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.000435/0.08904, allocations: 265.5 kB / 405.4 MB, free: 8.648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.08908, allocations: 55.41 kB / 405.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.08928, allocations: 219.2 kB / 405.7 MB, free: 8.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.08931, allocations: 29.7 kB / 405.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.08939, allocations: 120 kB / 405.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.08944, allocations: 47.3 kB / 405.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.08947, allocations: 17.72 kB / 405.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.0896, allocations: 334.8 kB / 406.2 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.08971, allocations: 63.98 kB / 406.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.837e-05/0.08982, allocations: 67.98 kB / 406.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.09006, allocations: 149 kB / 406.5 MB, free: 7.516 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.09006, allocations: 3.938 kB / 406.5 MB, free: 7.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000288/0.09036, allocations: 208.6 kB / 406.7 MB, free: 7.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.09038, allocations: 4 kB / 406.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.09039, allocations: 0 / 406.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.0904, allocations: 3.938 kB / 406.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.09051, allocations: 19.98 kB / 406.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.09052, allocations: 0 / 406.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.09059, allocations: 11.84 kB / 406.7 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.09061, allocations: 8 kB / 406.7 MB, free: 7.258 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.0001225/0.09074, allocations: 138.9 kB / 406.9 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.09079, allocations: 19.72 kB / 406.9 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.09085, allocations: 21.52 kB / 406.9 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.09086, allocations: 7.938 kB / 406.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.09087, allocations: 4 kB / 406.9 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.09088, allocations: 0 / 406.9 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.0912, allocations: 321.3 kB / 407.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.0912, allocations: 0 / 407.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.165e-05/0.0913, allocations: 19.98 kB / 407.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.09131, allocations: 0 / 407.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.09133, allocations: 4 kB / 407.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.09134, allocations: 4 kB / 407.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.09135, allocations: 0 / 407.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.09181, allocations: 399.1 kB / 407.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.09188, allocations: 96.86 kB / 407.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.09191, allocations: 0 / 407.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/0.092, allocations: 4.062 kB / 407.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.09203, allocations: 15.92 kB / 407.8 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.09205, allocations: 4 kB / 407.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.09219, allocations: 168.6 kB / 407.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0922, allocations: 0 / 407.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.09244, allocations: 24 kB / 407.9 MB, free: 5.934 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.0007362/0.09318, allocations: 0.9387 MB / 408.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.09346, allocations: 159.8 kB / 409 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.09347, allocations: 0 / 409 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.0936, allocations: 87.91 kB / 409.1 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.09393, allocations: 25.52 kB / 409.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.09637, allocations: 2.378 MB / 411.5 MB, free: 2.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.09666, allocations: 0.724 MB / 412.3 MB, free: 1.508 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.836e-05/0.09673, allocations: 17.42 kB / 412.3 MB, free: 1.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.09681, allocations: 47.42 kB / 412.3 MB, free: 1.441 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09682, allocations: 3.938 kB / 412.3 MB, free: 1.438 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.1102, allocations: 3.928 MB / 416.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.1105, allocations: 201.5 kB / 416.4 MB, free: 13.34 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.776, allocations: 0 / 416.4 MB, free: 13.34 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