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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002444/0.002444, allocations: 208.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 207.7 MB / 233.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06668/0.06668, allocations: 14.38 MB / 299.7 MB, free: 7.246 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 73.31 kB / 423 MB, free: 36.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08717/0.08944, allocations: 52.9 MB / 475.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.003779/0.09322, allocations: 1.875 MB / 477.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000908/0.09412, allocations: 363.5 kB / 478.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.09423, allocations: 4 kB / 478.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.09453, allocations: 67.59 kB / 478.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.09473, allocations: 43.66 kB / 478.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.09534, allocations: 227.2 kB / 478.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.09566, allocations: 163.5 kB / 478.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.09582, allocations: 62.84 kB / 478.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.0959, allocations: 63.72 kB / 478.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.096, allocations: 59.58 kB / 478.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.09603, allocations: 16 kB / 478.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.09614, allocations: 47.98 kB / 478.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.09618, allocations: 51.77 kB / 478.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.09625, allocations: 51.67 kB / 478.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.09662, allocations: 255 kB / 479.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.09663, allocations: 0 / 479.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.09663, allocations: 0 / 479.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.09664, allocations: 0 / 479.2 MB, free: 12.39 MB / 350.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.001028/0.09766, allocations: 469.4 kB / 479.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.0977, allocations: 12.03 kB / 479.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.908e-05/0.09776, allocations: 54.67 kB / 479.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.09781, allocations: 20.8 kB / 479.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.09814, allocations: 182.2 kB / 479.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.09817, allocations: 16.38 kB / 479.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.0982, allocations: 16.38 kB / 479.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.09852, allocations: 170.4 kB / 480.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.09853, allocations: 3.938 kB / 480.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.09855, allocations: 4 kB / 480.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.09856, allocations: 4 kB / 480.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.0988, allocations: 132 kB / 480.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.09983, allocations: 0.5669 MB / 480.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.09999, allocations: 62.56 kB / 480.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.1001, allocations: 28.98 kB / 480.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1001, allocations: 3.984 kB / 480.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1001, allocations: 42.5 kB / 481 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1001, allocations: 0 / 481 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000293/0.1004, allocations: 129.5 kB / 481.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1005, allocations: 51.41 kB / 481.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.1007, allocations: 257.1 kB / 481.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1008, allocations: 29.64 kB / 481.4 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.1009, allocations: 144 kB / 481.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.851e-05/0.1009, allocations: 11.91 kB / 481.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.101, allocations: 21.72 kB / 481.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1011, allocations: 330.8 kB / 481.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.1012, allocations: 27.94 kB / 481.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.371e-05/0.1012, allocations: 39.98 kB / 482 MB, free: 9.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1014, allocations: 68.95 kB / 482 MB, free: 9.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1014, allocations: 4 kB / 482 MB, free: 9.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002106/0.1016, allocations: 125.8 kB / 482.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1016, allocations: 7.938 kB / 482.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1016, allocations: 4 kB / 482.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1016, allocations: 4 kB / 482.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1018, allocations: 15.98 kB / 482.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1018, allocations: 4 kB / 482.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/0.1019, allocations: 15.83 kB / 482.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1019, allocations: 4 kB / 482.2 MB, free: 9.164 MB / 350.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.0001225/0.102, allocations: 129.8 kB / 482.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.102, allocations: 23.8 kB / 482.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.1021, allocations: 25.39 kB / 482.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1021, allocations: 0 / 482.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1021, allocations: 0 / 482.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1021, allocations: 0 / 482.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007627/0.1028, allocations: 456.9 kB / 482.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1028, allocations: 8.031 kB / 482.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.988e-05/0.1029, allocations: 11.98 kB / 482.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1029, allocations: 0 / 482.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.1029, allocations: 8 kB / 482.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1029, allocations: 0 / 482.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1029, allocations: 0 / 482.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.1033, allocations: 262.8 kB / 483.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.1033, allocations: 27.84 kB / 483.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1034, allocations: 4 kB / 483.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.1035, allocations: 0 / 483.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.1035, allocations: 12.05 kB / 483.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.1035, allocations: 3.938 kB / 483.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.1037, allocations: 192.4 kB / 483.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1037, allocations: 0 / 483.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1039, allocations: 24 kB / 483.4 MB, free: 7.895 MB / 350.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.0007063/0.1046, allocations: 0.7979 MB / 484.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.1048, allocations: 71.98 kB / 484.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1048, allocations: 0 / 484.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.1049, allocations: 31.94 kB / 484.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.1053, allocations: 32.3 kB / 484.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.1081, allocations: 2.151 MB / 486.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.1083, allocations: 112.4 kB / 486.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.965e-05/0.1083, allocations: 13.42 kB / 486.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.1084, allocations: 59.41 kB / 486.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1084, allocations: 0 / 486.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.1436, allocations: 4.191 MB / 490.8 MB, free: 320 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.42, allocations: 4.062 kB / 490.8 MB, free: 316 kB / 350.1 MB " [Timeout remaining time 648] (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 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.154076624196023]