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.001359/0.001359, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001459/0.001459, allocations: 218.4 kB / 23.03 MB, free: 4.945 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.398/1.398, allocations: 207.7 MB / 233.9 MB, free: 9.785 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.06842/0.06842, allocations: 14.38 MB / 300.5 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.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",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.002113/0.002113, allocations: 72.52 kB / 423.7 MB, free: 36.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08204/0.08415, allocations: 52.91 MB / 476.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.003772/0.08792, allocations: 2.034 MB / 478.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.08895, allocations: 435.1 kB / 479.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.08914, allocations: 8 kB / 479.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.0895, allocations: 107.3 kB / 479.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.08981, allocations: 59.53 kB / 479.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007168/0.09053, allocations: 247.2 kB / 479.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.09102, allocations: 258.8 kB / 479.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.09124, allocations: 81.25 kB / 479.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.09135, allocations: 99.52 kB / 480 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.09151, allocations: 115.3 kB / 480.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.887e-05/0.09158, allocations: 24 kB / 480.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.09175, allocations: 75.98 kB / 480.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.09182, allocations: 55.78 kB / 480.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.927e-05/0.09192, allocations: 99.39 kB / 480.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005457/0.09246, allocations: 386.5 kB / 480.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.09247, allocations: 0 / 480.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09247, allocations: 0 / 480.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.09248, allocations: 3.938 kB / 480.7 MB, free: 11.66 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.002019/0.0945, allocations: 0.6769 MB / 481.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.09454, allocations: 8.031 kB / 481.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.05e-05/0.09456, allocations: 8.844 kB / 481.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.51e-05/0.09465, allocations: 62.72 kB / 481.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.038e-05/0.09473, allocations: 40.75 kB / 481.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.09506, allocations: 221.9 kB / 481.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.09509, allocations: 24.97 kB / 481.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.09514, allocations: 24.38 kB / 481.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.09576, allocations: 330.4 kB / 482.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.09577, allocations: 0 / 482.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.0958, allocations: 8 kB / 482.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.09581, allocations: 8 kB / 482.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.09638, allocations: 334.5 kB / 482.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.0981, allocations: 0.933 MB / 483.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.09847, allocations: 166.5 kB / 483.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.09866, allocations: 104.8 kB / 483.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.09868, allocations: 4 kB / 483.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.09871, allocations: 42.5 kB / 483.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.304e-06/0.09872, allocations: 0 / 483.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006984/0.09941, allocations: 345.4 kB / 484 MB, free: 8.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.09946, allocations: 63.39 kB / 484.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.0998, allocations: 288.1 kB / 484.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.09983, allocations: 25.7 kB / 484.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.09996, allocations: 176.2 kB / 484.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.1, allocations: 43.58 kB / 484.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.1001, allocations: 37.7 kB / 484.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1003, allocations: 334.8 kB / 484.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.1004, allocations: 95.98 kB / 485 MB, free: 7.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.1006, allocations: 121.6 kB / 485.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.101, allocations: 205.7 kB / 485.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.101, allocations: 0 / 485.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004954/0.1015, allocations: 281.4 kB / 485.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1015, allocations: 7.938 kB / 485.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1015, allocations: 0 / 485.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.1015, allocations: 7.938 kB / 485.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.1018, allocations: 27.98 kB / 485.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1018, allocations: 0 / 485.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.1019, allocations: 23.84 kB / 485.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.1019, allocations: 11.98 kB / 485.7 MB, free: 6.438 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.0001715/0.1021, allocations: 145.8 kB / 485.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.1022, allocations: 23.86 kB / 485.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.586e-05/0.1023, allocations: 33.73 kB / 485.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1023, allocations: 4 kB / 485.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1023, allocations: 0 / 485.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1023, allocations: 0 / 485.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.1034, allocations: 0.6866 MB / 486.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.1034, allocations: 4 kB / 486.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.1035, allocations: 35.98 kB / 486.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.1035, allocations: 7.938 kB / 486.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.1036, allocations: 0 / 486.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1036, allocations: 0 / 486.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1036, allocations: 4 kB / 486.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.1041, allocations: 384.9 kB / 487 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.1041, allocations: 31.81 kB / 487.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.1042, allocations: 0 / 487.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.1043, allocations: 7.938 kB / 487.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.1044, allocations: 15.97 kB / 487.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1044, allocations: 8 kB / 487.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.1046, allocations: 207.1 kB / 487.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1046, allocations: 4 kB / 487.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.1049, allocations: 43.89 kB / 487.3 MB, free: 4.723 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.000866/0.1058, allocations: 0.9131 MB / 488.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004451/0.1062, allocations: 215.9 kB / 488.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1062, allocations: 4 kB / 488.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.1064, allocations: 111.9 kB / 488.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1067, allocations: 19.11 kB / 488.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.1106, allocations: 2.777 MB / 491.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.1107, allocations: 146.6 kB / 491.5 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000722/0.1115, allocations: 0.502 MB / 492 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.1116, allocations: 79.34 kB / 492.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1116, allocations: 0 / 492.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.1393, allocations: 5.177 MB / 497.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.68, allocations: 3.938 kB / 497.3 MB, free: 10.68 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.363478067913093]