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.001315/0.001315, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001411/0.001411, allocations: 221.6 kB / 23.05 MB, free: 5.074 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.343/1.343, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.06653/0.06653, allocations: 14.39 MB / 300.5 MB, free: 7.531 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE",fmuType="cs",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.00335/0.00335, allocations: 68.47 kB / 423.8 MB, free: 36.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.0985, allocations: 52.9 MB / 476.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.003587/0.1021, allocations: 1.945 MB / 478.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008564/0.1029, allocations: 387.4 kB / 479 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1031, allocations: 4 kB / 479 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.1033, allocations: 59.66 kB / 479.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.1035, allocations: 47.66 kB / 479.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005836/0.1041, allocations: 247.1 kB / 479.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.1044, allocations: 163.2 kB / 479.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.1046, allocations: 70.78 kB / 479.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.1046, allocations: 59.72 kB / 479.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1047, allocations: 67.64 kB / 479.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.1048, allocations: 19.94 kB / 479.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.1049, allocations: 47.98 kB / 479.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.105, allocations: 43.84 kB / 479.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.615e-05/0.1051, allocations: 79.55 kB / 479.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.1054, allocations: 246.9 kB / 480.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1054, allocations: 0 / 480.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1054, allocations: 0 / 480.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1054, allocations: 3.938 kB / 480.1 MB, free: 12.47 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.001069/0.1065, allocations: 473.4 kB / 480.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1065, allocations: 12.03 kB / 480.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.263e-05/0.1066, allocations: 4.188 kB / 480.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.079e-05/0.1066, allocations: 46.73 kB / 480.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.1067, allocations: 24.8 kB / 480.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.107, allocations: 178.2 kB / 480.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.1071, allocations: 12.38 kB / 480.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.1071, allocations: 24.38 kB / 480.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.1074, allocations: 174.2 kB / 481.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1074, allocations: 3.938 kB / 481.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.1075, allocations: 8 kB / 481.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1075, allocations: 4 kB / 481.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.1077, allocations: 128 kB / 481.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.1088, allocations: 0.6176 MB / 481.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.109, allocations: 62.5 kB / 481.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.361e-05/0.109, allocations: 32.98 kB / 481.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.109, allocations: 0 / 481.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1091, allocations: 38.55 kB / 481.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.1091, allocations: 7.938 kB / 482 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002972/0.1094, allocations: 125.5 kB / 482.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.1094, allocations: 59.34 kB / 482.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.1097, allocations: 253.1 kB / 482.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1097, allocations: 29.7 kB / 482.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.96e-05/0.1098, allocations: 136 kB / 482.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.1098, allocations: 15.91 kB / 482.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.1099, allocations: 17.72 kB / 482.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.11, allocations: 334.8 kB / 482.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/0.1101, allocations: 32 kB / 482.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.1101, allocations: 35.97 kB / 483 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1103, allocations: 68.86 kB / 483 MB, free: 9.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1103, allocations: 0 / 483 MB, free: 9.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001898/0.1105, allocations: 117.5 kB / 483.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.1105, allocations: 15.88 kB / 483.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1105, allocations: 0 / 483.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1105, allocations: 0 / 483.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1106, allocations: 15.98 kB / 483.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1106, allocations: 4 kB / 483.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.1107, allocations: 11.89 kB / 483.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1107, allocations: 0 / 483.2 MB, free: 9.199 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.0001179/0.1108, allocations: 129.8 kB / 483.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.1108, allocations: 27.8 kB / 483.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.1109, allocations: 29.33 kB / 483.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1109, allocations: 0 / 483.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1109, allocations: 0 / 483.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1109, allocations: 0 / 483.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007382/0.1116, allocations: 488.7 kB / 483.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1116, allocations: 0 / 483.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.33e-05/0.1117, allocations: 8 kB / 483.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1117, allocations: 4 kB / 483.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1117, allocations: 4 kB / 483.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.1117, allocations: 12.09 kB / 483.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1117, allocations: 0 / 483.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.1121, allocations: 263.1 kB / 484.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.1121, allocations: 31.88 kB / 484.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1121, allocations: 12 kB / 484.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.1122, allocations: 0 / 484.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.1123, allocations: 11.88 kB / 484.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.1123, allocations: 0 / 484.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.1124, allocations: 192.5 kB / 484.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1124, allocations: 0 / 484.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1127, allocations: 24 kB / 484.4 MB, free: 7.883 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.0006368/0.1133, allocations: 0.7978 MB / 485.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.1135, allocations: 71.94 kB / 485.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1135, allocations: 0 / 485.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.808e-05/0.1136, allocations: 35.92 kB / 485.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1139, allocations: 24.36 kB / 485.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.1164, allocations: 2.152 MB / 487.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.1167, allocations: 0.7241 MB / 488.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.467e-05/0.1168, allocations: 13.42 kB / 488.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.349e-05/0.1169, allocations: 55.42 kB / 488.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1169, allocations: 0 / 488.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.1414, allocations: 3.767 MB / 492 MB, free: 116 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.35, allocations: 7.953 kB / 492.1 MB, free: 108 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: 13.953479360032361]