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.001355/0.001355, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001555/0.001555, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.421/1.421, allocations: 207.7 MB / 233.1 MB, free: 9.793 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.1013/0.1013, allocations: 14.38 MB / 299.7 MB, free: 7.246 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.002346/0.002346, allocations: 63.91 kB / 423 MB, free: 36.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0721/0.07444, allocations: 52.9 MB / 475.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001929/0.07637, allocations: 0.7054 MB / 476.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.07654, allocations: 31.91 kB / 476.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.07657, allocations: 0 / 476.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.07659, allocations: 0 / 476.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.847e-05/0.07663, allocations: 0 / 476.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.07676, allocations: 15.92 kB / 476.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.417e-05/0.07684, allocations: 16 kB / 476.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.294e-05/0.07692, allocations: 11.92 kB / 476.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.201e-05/0.07694, allocations: 4 kB / 476.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.07699, allocations: 4 kB / 476.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.077, allocations: 4 kB / 476.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-06/0.07701, allocations: 0 / 476.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.07703, allocations: 11.97 kB / 476.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.07706, allocations: 4 kB / 476.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.989e-05/0.07713, allocations: 15.92 kB / 476.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.07713, allocations: 0 / 476.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.07713, allocations: 0 / 476.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.07714, allocations: 0 / 476.7 MB, free: 14.91 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.0003144/0.07745, allocations: 272.1 kB / 477 MB, free: 14.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.07749, allocations: 8.031 kB / 477 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.07753, allocations: 38.75 kB / 477 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.07755, allocations: 0.9375 kB / 477 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.696e-05/0.07764, allocations: 114.5 kB / 477.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.07765, allocations: 8.375 kB / 477.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.07766, allocations: 4.312 kB / 477.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.07778, allocations: 67.95 kB / 477.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.07779, allocations: 3.938 kB / 477.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.0778, allocations: 4 kB / 477.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.0778, allocations: 0 / 477.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.07786, allocations: 37.69 kB / 477.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.07826, allocations: 212 kB / 477.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.233e-05/0.07834, allocations: 60.19 kB / 477.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.07839, allocations: 50.62 kB / 477.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.0784, allocations: 0 / 477.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.07844, allocations: 38.55 kB / 477.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.07844, allocations: 0 / 477.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002303/0.07867, allocations: 138.7 kB / 477.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.07872, allocations: 81.11 kB / 477.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.821e-05/0.07877, allocations: 89.86 kB / 477.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.07879, allocations: 29.64 kB / 477.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.07883, allocations: 84.09 kB / 478 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.07885, allocations: 12.08 kB / 478 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.07889, allocations: 17.7 kB / 478 MB, free: 13.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.07904, allocations: 314.8 kB / 478.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/0.07908, allocations: 33.7 kB / 478.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.518e-05/0.07911, allocations: 37.69 kB / 478.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.547e-05/0.0792, allocations: 76.27 kB / 478.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.0792, allocations: 0 / 478.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001311/0.07933, allocations: 113 kB / 478.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.07936, allocations: 29.7 kB / 478.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.07936, allocations: 0 / 478.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.07937, allocations: 4.094 kB / 478.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.857e-05/0.07941, allocations: 7.984 kB / 478.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.07942, allocations: 0 / 478.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.07946, allocations: 0 / 478.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.07947, allocations: 4 kB / 478.6 MB, free: 12.66 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.0001003/0.07957, allocations: 143.5 kB / 478.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.07959, allocations: 0 / 478.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.845e-05/0.07961, allocations: 11.09 kB / 478.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.07961, allocations: 0 / 478.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.07962, allocations: 0 / 478.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.07962, allocations: 8 kB / 478.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.07976, allocations: 116.7 kB / 478.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.07976, allocations: 4 kB / 478.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.07978, allocations: 3.984 kB / 478.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.07978, allocations: 0 / 478.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.07979, allocations: 7.938 kB / 478.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.07979, allocations: 0 / 478.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.07979, allocations: 4 kB / 478.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.07997, allocations: 202.8 kB / 479.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.07998, allocations: 11.94 kB / 479.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.07999, allocations: 4.031 kB / 479.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.08007, allocations: 7.984 kB / 479.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.0801, allocations: 0 / 479.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.0801, allocations: 0 / 479.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.281e-05/0.08014, allocations: 79.22 kB / 479.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08014, allocations: 0 / 479.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.08036, allocations: 8 kB / 479.2 MB, free: 11.97 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.0004807/0.08084, allocations: 0.7392 MB / 480 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.081, allocations: 134.8 kB / 480.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.081, allocations: 4 kB / 480.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.477e-05/0.08108, allocations: 93.09 kB / 480.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.08128, allocations: 0 / 480.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.08165, allocations: 152.3 kB / 480.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.788e-05/0.0817, allocations: 63.34 kB / 480.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.297e-06/0.08171, allocations: 0 / 480.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.08173, allocations: 7.438 kB / 480.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.08174, allocations: 0 / 480.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.1083, allocations: 1.874 MB / 482.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.17, allocations: 7.609 kB / 482.3 MB, free: 8.789 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE_fmu --startTime=0 --stopTime=2 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/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:exciterRectifierRegulationCharacteristicIEEE.u,exciterRectifierRegulationCharacteristicIEEE.y,realExpression.y,time [Calling sys.exit(0), Time elapsed: 13.820885041262954]