Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.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.001361/0.001361, 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.001687/0.001687, 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.412/1.412, allocations: 207.6 MB / 233 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.06886/0.06886, allocations: 14.39 MB / 299.7 MB, free: 7.438 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.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",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.002181/0.002181, allocations: 71.91 kB / 423 MB, free: 36.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07806/0.08024, allocations: 52.9 MB / 475.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002082/0.08232, allocations: 0.7093 MB / 476.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000199/0.08252, allocations: 35.89 kB / 476.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.08256, allocations: 0 / 476.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.08259, allocations: 3.938 kB / 476.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.131e-05/0.08263, allocations: 0 / 476.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.08279, allocations: 7.938 kB / 476.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.0829, allocations: 23.97 kB / 476.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.569e-05/0.083, allocations: 4 kB / 476.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.08302, allocations: 4 kB / 476.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.08309, allocations: 7.984 kB / 476.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.0831, allocations: 8 kB / 476.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.08311, allocations: 0 / 476.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.08313, allocations: 4 kB / 476.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.08316, allocations: 7.938 kB / 476.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.647e-05/0.08325, allocations: 15.97 kB / 476.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.08325, allocations: 0 / 476.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.08325, allocations: 0 / 476.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.08326, allocations: 0 / 476.7 MB, free: 15.09 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003695/0.08363, allocations: 272.1 kB / 477 MB, free: 14.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.08368, allocations: 8.031 kB / 477 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.08371, allocations: 42.75 kB / 477 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.08374, allocations: 0.9375 kB / 477 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.806e-05/0.08383, allocations: 106.5 kB / 477.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.08384, allocations: 4.375 kB / 477.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.08386, allocations: 384 / 477.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.08399, allocations: 46.23 kB / 477.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.084, allocations: 3.938 kB / 477.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.08401, allocations: 3.938 kB / 477.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.08402, allocations: 4 kB / 477.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.731e-05/0.08406, allocations: 15.92 kB / 477.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.0845, allocations: 216 kB / 477.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.764e-05/0.08458, allocations: 38.48 kB / 477.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.08462, allocations: 16.92 kB / 477.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.08463, allocations: 0 / 477.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.08467, allocations: 34.56 kB / 477.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.08467, allocations: 4 kB / 477.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002217/0.08489, allocations: 87.33 kB / 477.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.08494, allocations: 81.11 kB / 477.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.644e-05/0.08499, allocations: 89.86 kB / 477.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.08501, allocations: 25.7 kB / 477.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.08506, allocations: 88.08 kB / 477.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.08508, allocations: 3.953 kB / 477.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.08511, allocations: 17.72 kB / 477.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.08525, allocations: 315 kB / 478.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.08529, allocations: 8 kB / 478.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.08531, allocations: 7.984 kB / 478.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.909e-05/0.08539, allocations: 76.27 kB / 478.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.08539, allocations: 0 / 478.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001133/0.0855, allocations: 87.27 kB / 478.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.08554, allocations: 29.7 kB / 478.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.08555, allocations: 96 / 478.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.08556, allocations: 8 kB / 478.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.192e-05/0.0856, allocations: 0 / 478.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.08561, allocations: 0 / 478.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.08566, allocations: 7.984 kB / 478.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.08567, allocations: 0 / 478.4 MB, free: 13.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0001017/0.08577, allocations: 143.5 kB / 478.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.0858, allocations: 0 / 478.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.08581, allocations: 7.109 kB / 478.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.08582, allocations: 0 / 478.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.08582, allocations: 8 kB / 478.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.08582, allocations: 3.984 kB / 478.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.08598, allocations: 128.7 kB / 478.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.08598, allocations: 0 / 478.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.08599, allocations: 0 / 478.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.08599, allocations: 3.938 kB / 478.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.086, allocations: 0 / 478.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.086, allocations: 4 kB / 478.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.086, allocations: 0 / 478.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.08618, allocations: 185.1 kB / 478.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-06/0.08619, allocations: 7.938 kB / 478.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.0862, allocations: 7.984 kB / 478.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.08627, allocations: 0 / 478.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.08632, allocations: 4 kB / 478.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.08633, allocations: 0 / 478.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.412e-05/0.08636, allocations: 75.28 kB / 479 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.08636, allocations: 0 / 479 MB, free: 12.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.08657, allocations: 8.031 kB / 479 MB, free: 12.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0005015/0.08707, allocations: 0.7141 MB / 479.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.08723, allocations: 79.33 kB / 479.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.08724, allocations: 4 kB / 479.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/0.0873, allocations: 67.5 kB / 479.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.08751, allocations: 0 / 479.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.08792, allocations: 122.6 kB / 480 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.08825, allocations: 0.6807 MB / 480.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.242e-05/0.08826, allocations: 0 / 480.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.08829, allocations: 7.438 kB / 480.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.08829, allocations: 0 / 480.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.114, allocations: 1.444 MB / 482.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.88, allocations: 7.875 kB / 482.1 MB, free: 9.27 MB / 350.1 MB " [Timeout remaining time 649] (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:exciterRectifierRegulationCharacteristicIEEE.y,realExpression.y,time Variables in the result:time,exciterRectifierRegulationCharacteristicIEEE.y,realExpression.y,exciterRectifierRegulationCharacteristicIEEE.u [Calling sys.exit(0), Time elapsed: 13.591159345996857]