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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.434/1.434, allocations: 207.6 MB / 229.8 MB, free: 4.254 MB / 174.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.07229/0.07229, allocations: 14.4 MB / 296 MB, free: 2.035 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.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.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.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.002133/0.002133, allocations: 71.89 kB / 417.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2645, allocations: 52.86 MB / 470.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.00372/0.2683, allocations: 2.127 MB / 472.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2693, allocations: 448.6 kB / 472.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.2694, allocations: 7.562 kB / 473 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.2698, allocations: 107.1 kB / 473.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.27, allocations: 64.98 kB / 473.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.2706, allocations: 251.2 kB / 473.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004963/0.2711, allocations: 251.5 kB / 473.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.2713, allocations: 92 kB / 473.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.2714, allocations: 91.53 kB / 473.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.2715, allocations: 107.4 kB / 473.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.2716, allocations: 28 kB / 473.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.2718, allocations: 83.91 kB / 474 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.2718, allocations: 55.78 kB / 474.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.2719, allocations: 131.2 kB / 474.2 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000526/0.2725, allocations: 387.4 kB / 474.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2725, allocations: 0 / 474.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2725, allocations: 0 / 474.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2725, allocations: 0 / 474.6 MB, free: 9.531 MB / 334.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.001852/0.2743, allocations: 0.7444 MB / 475.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.2744, allocations: 16.02 kB / 475.3 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.794e-05/0.2745, allocations: 58.73 kB / 475.4 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.2745, allocations: 32.75 kB / 475.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.2747, allocations: 223.8 kB / 475.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.2748, allocations: 16.94 kB / 475.6 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.2748, allocations: 28.38 kB / 475.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/0.2754, allocations: 321.4 kB / 476 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2754, allocations: 7.938 kB / 476 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.2754, allocations: 11.98 kB / 476 MB, free: 7.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2754, allocations: 8 kB / 476 MB, free: 7.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000555/0.276, allocations: 330.1 kB / 476.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.2777, allocations: 1.073 MB / 477.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.278, allocations: 158.5 kB / 477.6 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.2782, allocations: 100.8 kB / 477.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.2782, allocations: 4 kB / 477.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.2782, allocations: 34.56 kB / 477.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.2782, allocations: 0 / 477.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007138/0.279, allocations: 357.4 kB / 478.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.279, allocations: 55.41 kB / 478.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.2793, allocations: 279 kB / 478.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.2793, allocations: 29.7 kB / 478.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.2795, allocations: 168.3 kB / 478.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.2795, allocations: 59.5 kB / 478.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.2796, allocations: 37.69 kB / 478.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.2798, allocations: 334.8 kB / 479 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.2799, allocations: 95.97 kB / 479.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.2801, allocations: 117.2 kB / 479.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.2805, allocations: 209.6 kB / 479.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2805, allocations: 0 / 479.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004385/0.2809, allocations: 273.5 kB / 479.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2809, allocations: 12 kB / 479.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2809, allocations: 3.984 kB / 479.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.281, allocations: 3.938 kB / 479.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.2812, allocations: 39.84 kB / 479.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2812, allocations: 4 kB / 479.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.2813, allocations: 19.78 kB / 479.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.2813, allocations: 8 kB / 479.8 MB, free: 4.09 MB / 334.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.0001587/0.2815, allocations: 141.8 kB / 479.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.2815, allocations: 19.86 kB / 479.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.674e-05/0.2816, allocations: 37.86 kB / 480 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2816, allocations: 3.938 kB / 480 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2816, allocations: 3.938 kB / 480 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2816, allocations: 7.984 kB / 480 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.2827, allocations: 0.7615 MB / 480.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2827, allocations: 0 / 480.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.2829, allocations: 27.98 kB / 480.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2829, allocations: 8.062 kB / 480.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.2829, allocations: 8 kB / 480.8 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2829, allocations: 0 / 480.8 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2829, allocations: 3.938 kB / 480.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005704/0.2835, allocations: 373 kB / 481.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.2836, allocations: 112.9 kB / 481.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.2836, allocations: 4 kB / 481.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.2837, allocations: 11.94 kB / 481.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.2838, allocations: 7.984 kB / 481.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.2838, allocations: 11.98 kB / 481.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.284, allocations: 206 kB / 481.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.284, allocations: 0 / 481.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.2843, allocations: 47.89 kB / 481.5 MB, free: 2.195 MB / 334.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.0008533/0.2851, allocations: 0.9014 MB / 482.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004145/0.2856, allocations: 211.9 kB / 482.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2856, allocations: 4 kB / 482.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.2857, allocations: 107.9 kB / 482.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.286, allocations: 12.89 kB / 482.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.2896, allocations: 2.761 MB / 485.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.29, allocations: 0.7553 MB / 486.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007542/0.2907, allocations: 492.4 kB / 486.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.2909, allocations: 87.39 kB / 486.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2909, allocations: 0 / 486.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.3202, allocations: 4.852 MB / 491.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.432, allocations: 8.047 kB / 491.7 MB, free: 7.859 MB / 350.1 MB " [Timeout remaining time 651] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.871779900044203]