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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008958/0.0008955, allocations: 97.41 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005252/0.005252, allocations: 169.2 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05588/0.05588, allocations: 14.16 MB / 284.9 MB, free: 7.273 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004992, allocations: 12 kB / 348.9 MB, free: 17.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07692/0.07743, allocations: 51.11 MB / 400 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.000775/0.07824, allocations: 449.1 kB / 400.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001642/0.07841, allocations: 31.91 kB / 400.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.543e-05/0.07844, allocations: 0 / 400.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.07846, allocations: 4 kB / 400.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.484e-05/0.0785, allocations: 0 / 400.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.07861, allocations: 3.984 kB / 400.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.47e-05/0.07866, allocations: 19.98 kB / 400.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.445e-05/0.07873, allocations: 0 / 400.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.144e-05/0.07876, allocations: 4 kB / 400.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.282e-05/0.07881, allocations: 7.984 kB / 400.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.07883, allocations: 7.938 kB / 400.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-06/0.07884, allocations: 3.938 kB / 400.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.07885, allocations: 0 / 400.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.0789, allocations: 33.7 kB / 400.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.618e-05/0.07896, allocations: 11.97 kB / 400.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.07897, allocations: 0 / 400.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.07897, allocations: 3.938 kB / 400.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.07898, allocations: 0 / 400.6 MB, free: 13.68 MB / 302.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.0002518/0.07924, allocations: 345.3 kB / 400.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.07928, allocations: 8.031 kB / 400.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.764e-05/0.07931, allocations: 42.73 kB / 401 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.052e-05/0.07934, allocations: 4.922 kB / 401 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.842e-05/0.07942, allocations: 164.4 kB / 401.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.07943, allocations: 4.312 kB / 401.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.07945, allocations: 8.375 kB / 401.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.07956, allocations: 42.25 kB / 401.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.07957, allocations: 3.938 kB / 401.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.07959, allocations: 0 / 401.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.07959, allocations: 3.938 kB / 401.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.07963, allocations: 11.98 kB / 401.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.07997, allocations: 248.8 kB / 401.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.587e-05/0.08004, allocations: 34.55 kB / 401.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.08007, allocations: 16.92 kB / 401.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.08009, allocations: 0 / 401.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.08011, allocations: 38.5 kB / 401.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.08012, allocations: 0 / 401.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001749/0.0803, allocations: 87.39 kB / 401.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.08034, allocations: 77.11 kB / 401.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.449e-05/0.08038, allocations: 89.86 kB / 401.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.0804, allocations: 25.7 kB / 401.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.564e-05/0.08043, allocations: 84.12 kB / 401.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.08045, allocations: 7.906 kB / 401.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.08048, allocations: 9.844 kB / 401.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.08057, allocations: 318.8 kB / 402.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.0806, allocations: 4 kB / 402.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.08062, allocations: 11.98 kB / 402.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.427e-05/0.08069, allocations: 80.2 kB / 402.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.0807, allocations: 0 / 402.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.593e-05/0.08079, allocations: 83.33 kB / 402.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.08082, allocations: 29.7 kB / 402.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.08084, allocations: 4.094 kB / 402.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.08085, allocations: 0 / 402.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.066e-05/0.08089, allocations: 4 kB / 402.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.0809, allocations: 0 / 402.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.08094, allocations: 7.984 kB / 402.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.08096, allocations: 0 / 402.5 MB, free: 11.54 MB / 302.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 7.117e-05/0.08103, allocations: 139.5 kB / 402.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.08106, allocations: 4 kB / 402.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.196e-05/0.08108, allocations: 7.062 kB / 402.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.08109, allocations: 7.938 kB / 402.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.0811, allocations: 0 / 402.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.08111, allocations: 7.938 kB / 402.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.08125, allocations: 157.6 kB / 402.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.08126, allocations: 0 / 402.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-05/0.08127, allocations: 4 kB / 402.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.08128, allocations: 0 / 402.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.08129, allocations: 0 / 402.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.08129, allocations: 0 / 402.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.0813, allocations: 0 / 402.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.08143, allocations: 185.2 kB / 403 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.08147, allocations: 77.11 kB / 403 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.08148, allocations: 3.984 kB / 403 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.08156, allocations: 4 kB / 403 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.08159, allocations: 4 kB / 403.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.08161, allocations: 4 kB / 403.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.118e-05/0.08164, allocations: 75.28 kB / 403.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08164, allocations: 4.031 kB / 403.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001942/0.08184, allocations: 4 kB / 403.1 MB, free: 10.76 MB / 302.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.0003566/0.0822, allocations: 0.7218 MB / 403.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.977e-05/0.08231, allocations: 79.39 kB / 403.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.08232, allocations: 4.094 kB / 403.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.38e-05/0.08238, allocations: 67.34 kB / 404 MB, free: 9.836 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.08258, allocations: 4 kB / 404 MB, free: 9.832 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.08287, allocations: 128.3 kB / 404.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.08308, allocations: 0.6731 MB / 404.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.708e-06/0.08309, allocations: 7.938 kB / 404.8 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.08311, allocations: 7.438 kB / 404.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08312, allocations: 0 / 404.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009466/0.09259, allocations: 1.078 MB / 405.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/0.09284, allocations: 228.3 kB / 406.1 MB, free: 7.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/1.934, allocations: 3.797 kB / 406.1 MB, free: 7.73 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches