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.001704/0.001704, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.002021/0.002021, allocations: 219.1 kB / 22.25 MB, free: 5.105 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.404/1.404, allocations: 207.7 MB / 233.1 MB, free: 9.812 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.06732/0.06732, allocations: 14.38 MB / 299.7 MB, free: 7.254 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.003214/0.003214, allocations: 71.89 kB / 423 MB, free: 36.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07846/0.08167, allocations: 52.9 MB / 475.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002085/0.08376, allocations: 0.6977 MB / 476.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001776/0.08393, allocations: 31.89 kB / 476.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.08397, allocations: 7.938 kB / 476.6 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.08399, allocations: 0 / 476.6 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.243e-05/0.08404, allocations: 3.938 kB / 476.6 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.08417, allocations: 11.98 kB / 476.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.598e-05/0.08427, allocations: 20 kB / 476.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.08436, allocations: 3.984 kB / 476.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.679e-05/0.08439, allocations: 8 kB / 476.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.08444, allocations: 4 kB / 476.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.08446, allocations: 0 / 476.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.08447, allocations: 4 kB / 476.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.08448, allocations: 7.984 kB / 476.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.08452, allocations: 7.922 kB / 476.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.229e-05/0.08459, allocations: 11.98 kB / 476.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.0846, allocations: 4 kB / 476.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0846, allocations: 0 / 476.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.08461, allocations: 0 / 476.7 MB, free: 14.92 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.0003367/0.08495, allocations: 272 kB / 477 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.08499, allocations: 12.03 kB / 477 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.08503, allocations: 34.75 kB / 477 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.08505, allocations: 0.9375 kB / 477 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.547e-05/0.08514, allocations: 110.5 kB / 477.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.08515, allocations: 4.375 kB / 477.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.08517, allocations: 8.359 kB / 477.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.08531, allocations: 67.95 kB / 477.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.08532, allocations: 3.938 kB / 477.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.08533, allocations: 0 / 477.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.08533, allocations: 0 / 477.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.08539, allocations: 37.7 kB / 477.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.08583, allocations: 216 kB / 477.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.487e-05/0.08593, allocations: 64.19 kB / 477.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/0.08598, allocations: 42.62 kB / 477.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.08599, allocations: 0 / 477.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.08602, allocations: 34.56 kB / 477.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.08602, allocations: 0 / 477.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002508/0.08627, allocations: 150.7 kB / 477.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.08633, allocations: 77.11 kB / 477.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.541e-05/0.08637, allocations: 89.86 kB / 477.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.08639, allocations: 25.7 kB / 477.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.08644, allocations: 88.09 kB / 478 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.08646, allocations: 8.078 kB / 478 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.0865, allocations: 21.7 kB / 478 MB, free: 13.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.08664, allocations: 310.8 kB / 478.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.08669, allocations: 37.7 kB / 478.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.98e-05/0.08673, allocations: 41.69 kB / 478.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.913e-05/0.0868, allocations: 72.27 kB / 478.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.08681, allocations: 0 / 478.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001304/0.08694, allocations: 113 kB / 478.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.08697, allocations: 29.7 kB / 478.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.08698, allocations: 4 kB / 478.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.08699, allocations: 4.094 kB / 478.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.08703, allocations: 0 / 478.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.08704, allocations: 0 / 478.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.08709, allocations: 7.984 kB / 478.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.0871, allocations: 0 / 478.6 MB, free: 12.68 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.0001082/0.08721, allocations: 143.5 kB / 478.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.08723, allocations: 0 / 478.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.08725, allocations: 11.11 kB / 478.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.08725, allocations: 0 / 478.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.08726, allocations: 3.938 kB / 478.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.08726, allocations: 7.984 kB / 478.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.08741, allocations: 120.7 kB / 478.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.08741, allocations: 0 / 478.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.121e-05/0.08742, allocations: 0 / 478.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.08742, allocations: 0 / 478.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.08744, allocations: 8 kB / 478.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.08744, allocations: 7.922 kB / 478.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.08744, allocations: 0 / 478.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.08763, allocations: 206.8 kB / 479.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-06/0.08764, allocations: 7.938 kB / 479.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.08765, allocations: 4.031 kB / 479.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.08772, allocations: 4 kB / 479.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.08777, allocations: 3.984 kB / 479.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.08778, allocations: 4 kB / 479.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.385e-05/0.08781, allocations: 75.28 kB / 479.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.08781, allocations: 0 / 479.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.08804, allocations: 4 kB / 479.2 MB, free: 11.98 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.000522/0.08856, allocations: 0.7392 MB / 480 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.08875, allocations: 138.8 kB / 480.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.08875, allocations: 0 / 480.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.758e-05/0.08883, allocations: 89.11 kB / 480.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.08903, allocations: 6.656 kB / 480.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.08947, allocations: 152.3 kB / 480.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.675e-05/0.08952, allocations: 55.36 kB / 480.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.109e-05/0.08953, allocations: 0 / 480.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.08956, allocations: 11.44 kB / 480.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.08956, allocations: 0 / 480.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.1167, allocations: 1.868 MB / 482.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.05, allocations: 15.42 kB / 482.3 MB, free: 8.805 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.769855024293065]