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.001625/0.001625, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.002062/0.002062, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.435/1.435, allocations: 207.6 MB / 229.8 MB, free: 11.4 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.07259/0.07259, allocations: 14.39 MB / 296.1 MB, free: 8.625 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.002043/0.002043, allocations: 75.91 kB / 417.6 MB, free: 38.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08281/0.08485, allocations: 52.86 MB / 470.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002592/0.08744, allocations: 0.7087 MB / 471.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001936/0.08763, allocations: 27.89 kB / 471.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.08767, allocations: 3.938 kB / 471.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.08769, allocations: 0 / 471.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/0.08775, allocations: 0 / 471.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.08793, allocations: 11.94 kB / 471.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.08806, allocations: 19.98 kB / 471.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.08815, allocations: 8 kB / 471.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.064e-05/0.08818, allocations: 11.98 kB / 471.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.08823, allocations: 0 / 471.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.08825, allocations: 4 kB / 471.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.08826, allocations: 0 / 471.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.08827, allocations: 0 / 471.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.08831, allocations: 15.94 kB / 471.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.573e-05/0.0884, allocations: 19.95 kB / 471.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.0884, allocations: 0 / 471.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.08841, allocations: 4 kB / 471.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.08841, allocations: 0 / 471.3 MB, free: 0.793 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004329/0.08884, allocations: 349.2 kB / 471.6 MB, free: 404 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.08889, allocations: 8.031 kB / 471.6 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.08894, allocations: 30.75 kB / 471.6 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.08897, allocations: 4.938 kB / 471.6 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.08911, allocations: 160.4 kB / 471.8 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.08912, allocations: 4.312 kB / 471.8 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.08914, allocations: 8.359 kB / 471.8 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.08928, allocations: 46.23 kB / 471.8 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.08929, allocations: 7.938 kB / 471.9 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.0893, allocations: 4 kB / 471.9 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.0893, allocations: 3.938 kB / 471.9 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.07e-05/0.08934, allocations: 7.938 kB / 471.9 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.08988, allocations: 249 kB / 472.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.828e-05/0.08996, allocations: 30.45 kB / 472.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.09, allocations: 12.92 kB / 472.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.09001, allocations: 7.984 kB / 472.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.09006, allocations: 34.56 kB / 472.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.09006, allocations: 0 / 472.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002859/0.09035, allocations: 79.39 kB / 472.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.09042, allocations: 85.05 kB / 472.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.09049, allocations: 89.98 kB / 472.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.09051, allocations: 29.7 kB / 472.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.09056, allocations: 84.09 kB / 472.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.09059, allocations: 11.95 kB / 472.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.09064, allocations: 9.719 kB / 472.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.09082, allocations: 318.8 kB / 472.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.306e-05/0.09085, allocations: 8 kB / 472.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.09088, allocations: 8 kB / 472.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.09099, allocations: 80.31 kB / 473 MB, free: 14.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.091, allocations: 4 kB / 473 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001674/0.09117, allocations: 75.34 kB / 473.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.09122, allocations: 43.56 kB / 473.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.09122, allocations: 3.938 kB / 473.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.09124, allocations: 0 / 473.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.819e-05/0.09129, allocations: 0 / 473.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.09129, allocations: 0 / 473.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.504e-05/0.09137, allocations: 4 kB / 473.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.09138, allocations: 0 / 473.1 MB, free: 14.65 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.000141/0.09152, allocations: 147.5 kB / 473.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.09156, allocations: 4 kB / 473.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.896e-05/0.09158, allocations: 7.078 kB / 473.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.09158, allocations: 0 / 473.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.09158, allocations: 0 / 473.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.09159, allocations: 0 / 473.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.09183, allocations: 157.6 kB / 473.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.09183, allocations: 0 / 473.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/0.09185, allocations: 7.922 kB / 473.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.09185, allocations: 4 kB / 473.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.09186, allocations: 4 kB / 473.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.09187, allocations: 0 / 473.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.09187, allocations: 0 / 473.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.09209, allocations: 181.1 kB / 473.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.09215, allocations: 81.05 kB / 473.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.09217, allocations: 7.938 kB / 473.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.09229, allocations: 4.031 kB / 473.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.09233, allocations: 7.984 kB / 473.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.09234, allocations: 0 / 473.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.977e-05/0.09238, allocations: 75.28 kB / 473.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09238, allocations: 0 / 473.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003905/0.09277, allocations: 8 kB / 473.8 MB, free: 13.86 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.0006262/0.0934, allocations: 0.7141 MB / 474.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.09358, allocations: 79.33 kB / 474.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.09358, allocations: 0 / 474.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.09367, allocations: 67.39 kB / 474.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.094, allocations: 4 kB / 474.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.09451, allocations: 118.7 kB / 474.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.09485, allocations: 0.673 MB / 475.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.187e-05/0.09486, allocations: 4 kB / 475.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.09489, allocations: 7.438 kB / 475.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09489, allocations: 0 / 475.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.1188, allocations: 1.336 MB / 476.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.023, allocations: 11.94 kB / 476.8 MB, free: 10.8 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.754954496005666]