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.001846/0.001846, allocations: 113.8 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.00151/0.00151, allocations: 217 kB / 23.04 MB, free: 5.078 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: 10 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.09004/0.09004, allocations: 14.39 MB / 300.5 MB, free: 7.527 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.002118/0.002118, allocations: 63.91 kB / 423.8 MB, free: 36.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0767/0.07882, allocations: 52.9 MB / 476.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.0036/0.08242, allocations: 2.131 MB / 478.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.08327, allocations: 463 kB / 479.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.941e-05/0.08335, allocations: 4 kB / 479.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.08364, allocations: 103.4 kB / 479.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.08385, allocations: 67.52 kB / 479.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005755/0.08442, allocations: 259.1 kB / 479.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.0848, allocations: 251.2 kB / 479.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.08499, allocations: 89.22 kB / 480 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.25e-05/0.08508, allocations: 95.53 kB / 480.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.08521, allocations: 115.4 kB / 480.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.08526, allocations: 28 kB / 480.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.08539, allocations: 79.91 kB / 480.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.08544, allocations: 59.78 kB / 480.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.08555, allocations: 123.3 kB / 480.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.086, allocations: 390.4 kB / 480.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.086, allocations: 4 kB / 480.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.08601, allocations: 0 / 480.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.08601, allocations: 0 / 480.9 MB, free: 11.69 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.001704/0.08772, allocations: 0.673 MB / 481.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.08775, allocations: 12.03 kB / 481.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.848e-05/0.08778, allocations: 4.844 kB / 481.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.275e-05/0.08785, allocations: 62.73 kB / 481.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.08792, allocations: 32.75 kB / 481.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.08821, allocations: 229.8 kB / 481.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.08823, allocations: 21.03 kB / 481.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.08828, allocations: 28.38 kB / 481.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005838/0.08886, allocations: 338.3 kB / 482.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.08887, allocations: 0 / 482.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.0889, allocations: 8 kB / 482.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.08891, allocations: 8 kB / 482.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/0.08946, allocations: 338.5 kB / 482.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.09108, allocations: 1.034 MB / 483.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.0914, allocations: 158.5 kB / 483.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.09158, allocations: 108.3 kB / 483.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.0916, allocations: 4.25 kB / 483.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.09163, allocations: 34.56 kB / 484 MB, free: 8.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.09163, allocations: 0 / 484 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006546/0.09228, allocations: 357.4 kB / 484.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.09232, allocations: 55.41 kB / 484.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.09264, allocations: 284.2 kB / 484.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.09267, allocations: 29.7 kB / 484.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.09279, allocations: 168.2 kB / 484.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.09284, allocations: 51.58 kB / 484.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.95e-05/0.09293, allocations: 37.69 kB / 484.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.09308, allocations: 334.8 kB / 485.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.09324, allocations: 91.98 kB / 485.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.09343, allocations: 117.7 kB / 485.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.09376, allocations: 209.6 kB / 485.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.09377, allocations: 0 / 485.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004562/0.09422, allocations: 289.3 kB / 485.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.09424, allocations: 7.984 kB / 485.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.09424, allocations: 4 kB / 485.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.09426, allocations: 3.938 kB / 486 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.09446, allocations: 27.98 kB / 486 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.09447, allocations: 7.984 kB / 486 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.09457, allocations: 15.84 kB / 486 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.0946, allocations: 12 kB / 486 MB, free: 6.359 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.0001464/0.09475, allocations: 145.8 kB / 486.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.0948, allocations: 27.86 kB / 486.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/0.09488, allocations: 37.75 kB / 486.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.09489, allocations: 7.922 kB / 486.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.0949, allocations: 0 / 486.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.0949, allocations: 0 / 486.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.09591, allocations: 0.7488 MB / 487 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.09591, allocations: 4 kB / 487 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.09606, allocations: 20.05 kB / 487 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.09607, allocations: 8 kB / 487 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.09608, allocations: 4 kB / 487 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.09609, allocations: 7.938 kB / 487 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.09609, allocations: 3.984 kB / 487 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.09659, allocations: 373 kB / 487.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.09663, allocations: 31.84 kB / 487.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.09667, allocations: 4 kB / 487.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.09679, allocations: 7.984 kB / 487.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.09683, allocations: 7.984 kB / 487.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.09684, allocations: 8 kB / 487.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.09705, allocations: 207.1 kB / 487.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09705, allocations: 3.938 kB / 487.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.09734, allocations: 47.89 kB / 487.7 MB, free: 4.582 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.0007929/0.09813, allocations: 0.9132 MB / 488.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000402/0.09853, allocations: 223.8 kB / 488.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.09854, allocations: 0 / 488.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.09871, allocations: 111.8 kB / 488.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.09898, allocations: 23.42 kB / 489 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.1024, allocations: 2.777 MB / 491.7 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.1028, allocations: 0.7554 MB / 492.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006628/0.1034, allocations: 0.4905 MB / 493 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.1036, allocations: 83.41 kB / 493.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1036, allocations: 4 kB / 493.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.1287, allocations: 5.119 MB / 498.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.48, allocations: 0 / 498.2 MB, free: 9.965 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.141007103025913]