Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.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.001866/0.001866, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002356/0.002356, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.465/1.465, allocations: 207.7 MB / 233.1 MB, free: 9.773 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.06968/0.06968, allocations: 14.39 MB / 299.7 MB, free: 7.238 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.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",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.003115/0.003115, allocations: 73.25 kB / 423 MB, free: 36.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09493/0.09804, allocations: 52.9 MB / 475.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.003681/0.1017, allocations: 2.026 MB / 477.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.1026, allocations: 447.1 kB / 478.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1027, allocations: 12 kB / 478.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.103, allocations: 99.38 kB / 478.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.1033, allocations: 59.53 kB / 478.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.1039, allocations: 243.2 kB / 478.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.1043, allocations: 254.8 kB / 479 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.1045, allocations: 93.22 kB / 479.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.1046, allocations: 91.53 kB / 479.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1047, allocations: 95.36 kB / 479.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.1048, allocations: 28 kB / 479.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1049, allocations: 79.91 kB / 479.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.896e-05/0.105, allocations: 51.8 kB / 479.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.224e-05/0.1051, allocations: 95.45 kB / 479.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.1056, allocations: 394.4 kB / 479.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1056, allocations: 0 / 479.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1056, allocations: 0 / 479.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.1056, allocations: 0 / 479.9 MB, free: 11.67 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001761/0.1073, allocations: 0.677 MB / 480.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1074, allocations: 8.031 kB / 480.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.789e-05/0.1074, allocations: 62.73 kB / 480.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.1075, allocations: 32.75 kB / 480.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.1078, allocations: 229.8 kB / 480.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.1078, allocations: 21.03 kB / 480.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.1079, allocations: 24.38 kB / 480.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005695/0.1085, allocations: 326.6 kB / 481.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1085, allocations: 11.88 kB / 481.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.1085, allocations: 12 kB / 481.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1085, allocations: 8 kB / 481.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/0.1091, allocations: 334.5 kB / 481.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.1107, allocations: 0.933 MB / 482.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.1111, allocations: 162.5 kB / 482.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.1113, allocations: 104.8 kB / 482.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1113, allocations: 3.938 kB / 482.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1113, allocations: 30.56 kB / 482.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.1113, allocations: 4 kB / 482.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000683/0.112, allocations: 357.2 kB / 483.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.1121, allocations: 55.41 kB / 483.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.1124, allocations: 284.2 kB / 483.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1124, allocations: 29.7 kB / 483.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1126, allocations: 172.2 kB / 483.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.1126, allocations: 47.58 kB / 483.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.1127, allocations: 37.66 kB / 483.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1128, allocations: 334.8 kB / 484.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.113, allocations: 99.97 kB / 484.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.1132, allocations: 113.7 kB / 484.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.1136, allocations: 213.6 kB / 484.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1136, allocations: 0 / 484.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004842/0.1141, allocations: 277.4 kB / 484.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1141, allocations: 11.94 kB / 484.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1141, allocations: 0 / 484.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.1141, allocations: 3.938 kB / 484.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.1143, allocations: 35.97 kB / 484.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1143, allocations: 0 / 484.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.1145, allocations: 19.84 kB / 484.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.1145, allocations: 4 kB / 484.9 MB, free: 6.461 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001652/0.1147, allocations: 145.8 kB / 485 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.1147, allocations: 23.86 kB / 485.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/0.1148, allocations: 37.8 kB / 485.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.1148, allocations: 7.938 kB / 485.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1148, allocations: 3.938 kB / 485.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1148, allocations: 3.984 kB / 485.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1158, allocations: 0.6864 MB / 485.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1158, allocations: 0 / 485.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.116, allocations: 27.98 kB / 485.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.116, allocations: 0 / 485.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.116, allocations: 7.984 kB / 485.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.716e-06/0.116, allocations: 4 kB / 485.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.116, allocations: 12 kB / 485.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.1165, allocations: 373.3 kB / 486.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.1166, allocations: 35.83 kB / 486.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.1166, allocations: 4 kB / 486.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.1167, allocations: 0 / 486.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.1167, allocations: 11.98 kB / 486.3 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1168, allocations: 7.984 kB / 486.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002114/0.117, allocations: 203.1 kB / 486.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.117, allocations: 0 / 486.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.1173, allocations: 51.88 kB / 486.5 MB, free: 4.746 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (14): * Single equations (assignments): 14 * 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.0008368/0.1181, allocations: 0.917 MB / 487.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004092/0.1185, allocations: 215.8 kB / 487.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1185, allocations: 0 / 487.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.1187, allocations: 111.9 kB / 487.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.119, allocations: 16.98 kB / 487.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.1225, allocations: 2.789 MB / 490.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.1226, allocations: 142.5 kB / 490.7 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006807/0.1233, allocations: 0.4904 MB / 491.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.1235, allocations: 87.33 kB / 491.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1235, allocations: 0 / 491.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/0.1577, allocations: 5.494 MB / 496.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.29, allocations: 4 kB / 496.8 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 649] (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.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.988620044197887]