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.001851/0.001851, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001556/0.001556, allocations: 217 kB / 22.25 MB, free: 5.082 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.413/1.413, allocations: 207.6 MB / 233 MB, free: 10.01 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.06927/0.06927, allocations: 14.39 MB / 299.7 MB, free: 7.445 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.002206/0.002206, allocations: 75.89 kB / 423 MB, free: 36.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07609/0.0783, allocations: 52.9 MB / 475.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.003406/0.0817, allocations: 2.124 MB / 478 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008593/0.08256, allocations: 467 kB / 478.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.08266, allocations: 8 kB / 478.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.08296, allocations: 107.4 kB / 478.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.08316, allocations: 59.53 kB / 478.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.08375, allocations: 263.1 kB / 478.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.08415, allocations: 254.9 kB / 479.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.08434, allocations: 93.16 kB / 479.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.08445, allocations: 87.59 kB / 479.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.08459, allocations: 111.4 kB / 479.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.08463, allocations: 28 kB / 479.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.08478, allocations: 83.91 kB / 479.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.08483, allocations: 63.77 kB / 479.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.08494, allocations: 119.3 kB / 479.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004772/0.08542, allocations: 394.4 kB / 480.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.08542, allocations: 0 / 480.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.08543, allocations: 4 kB / 480.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.08543, allocations: 0 / 480.1 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.001702/0.08713, allocations: 0.6653 MB / 480.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.08717, allocations: 8.031 kB / 480.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.545e-05/0.08725, allocations: 58.73 kB / 480.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.08731, allocations: 40.75 kB / 480.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.08762, allocations: 225.8 kB / 481.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.08764, allocations: 25.02 kB / 481.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.08768, allocations: 28.31 kB / 481.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.08824, allocations: 330.6 kB / 481.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.08826, allocations: 7.938 kB / 481.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.08829, allocations: 8 kB / 481.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.0883, allocations: 8 kB / 481.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005557/0.08886, allocations: 338.5 kB / 481.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.09048, allocations: 1.034 MB / 482.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.09082, allocations: 162.5 kB / 483 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.09099, allocations: 108.3 kB / 483.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.09101, allocations: 256 / 483.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.09104, allocations: 30.56 kB / 483.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.09104, allocations: 0 / 483.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006549/0.0917, allocations: 361.4 kB / 483.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.09174, allocations: 51.41 kB / 483.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.09206, allocations: 288.2 kB / 483.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.09208, allocations: 29.7 kB / 483.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.09222, allocations: 172.2 kB / 484 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.09227, allocations: 47.58 kB / 484.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.09235, allocations: 37.69 kB / 484.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.09251, allocations: 334.8 kB / 484.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.09268, allocations: 91.98 kB / 484.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.09286, allocations: 117.7 kB / 484.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.0932, allocations: 213.6 kB / 484.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.0932, allocations: 0 / 484.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004488/0.09365, allocations: 281.3 kB / 485.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.09366, allocations: 7.984 kB / 485.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.09367, allocations: 0 / 485.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.09369, allocations: 7.938 kB / 485.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.09389, allocations: 27.98 kB / 485.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.09391, allocations: 4 kB / 485.2 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.09402, allocations: 15.84 kB / 485.2 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.09404, allocations: 8 kB / 485.2 MB, free: 6.367 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.0001512/0.09419, allocations: 149.8 kB / 485.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.09424, allocations: 23.86 kB / 485.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.682e-05/0.09433, allocations: 37.8 kB / 485.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.09434, allocations: 3.938 kB / 485.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.09434, allocations: 0 / 485.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.09434, allocations: 0 / 485.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.09539, allocations: 0.7567 MB / 486.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.09539, allocations: 0 / 486.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.09554, allocations: 23.98 kB / 486.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.09554, allocations: 4 kB / 486.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.09556, allocations: 7.938 kB / 486.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.09556, allocations: 7.938 kB / 486.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.09557, allocations: 3.984 kB / 486.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.09606, allocations: 373.1 kB / 486.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.0961, allocations: 27.81 kB / 486.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.09614, allocations: 12 kB / 486.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.09627, allocations: 4.031 kB / 486.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.0963, allocations: 15.97 kB / 486.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.09631, allocations: 4 kB / 486.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002181/0.09653, allocations: 207.1 kB / 486.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09653, allocations: 0 / 486.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.09683, allocations: 47.89 kB / 486.9 MB, free: 4.59 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.0008508/0.09768, allocations: 0.9209 MB / 487.8 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004166/0.0981, allocations: 215.8 kB / 488 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.0981, allocations: 0 / 488 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.09829, allocations: 111.8 kB / 488.1 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.09858, allocations: 24.92 kB / 488.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.1021, allocations: 2.777 MB / 490.9 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.1025, allocations: 0.7515 MB / 491.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006609/0.1031, allocations: 0.4942 MB / 492.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.1033, allocations: 83.41 kB / 492.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1033, allocations: 0 / 492.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.135, allocations: 5.086 MB / 497.4 MB, free: 10 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.32, allocations: 7.266 kB / 497.4 MB, free: 9.996 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.934402158949524]