Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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: translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 104.9 kB / 17.08 MB, free: 5.938 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.001016/0.001016, allocations: 200.2 kB / 18.02 MB, free: 5.023 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.268/1.268, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06187/0.06187, allocations: 14.16 MB / 285.4 MB, free: 13.85 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.001436/0.001436, allocations: 72.78 kB / 400 MB, free: 42.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06746/0.0689, allocations: 50.12 MB / 450.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001746/0.07068, allocations: 0.7137 MB / 450.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001508/0.07085, allocations: 31.97 kB / 450.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.07089, allocations: 0 / 450.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.07092, allocations: 3.938 kB / 450.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.563e-05/0.07097, allocations: 0 / 450.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.07109, allocations: 7.984 kB / 450.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.857e-05/0.07119, allocations: 27.98 kB / 450.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.226e-05/0.07127, allocations: 0 / 450.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.0713, allocations: 11.94 kB / 450.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.07136, allocations: 7.984 kB / 450.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.07137, allocations: 0 / 450.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-06/0.07139, allocations: 8 kB / 450.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.07141, allocations: 0 / 450.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.07144, allocations: 4 kB / 450.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.075e-05/0.07151, allocations: 23.89 kB / 450.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.07152, allocations: 3.938 kB / 450.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.07153, allocations: 4 kB / 450.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.07154, allocations: 0 / 450.9 MB, free: 10.7 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.0003039/0.07185, allocations: 341.3 kB / 451.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.07188, allocations: 8.031 kB / 451.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.07192, allocations: 4.938 kB / 451.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.675e-05/0.07201, allocations: 164.4 kB / 451.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.07203, allocations: 384 / 451.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.07204, allocations: 4.375 kB / 451.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.07215, allocations: 42.25 kB / 451.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.07217, allocations: 192 / 451.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.07218, allocations: 3.938 kB / 451.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.07219, allocations: 0 / 451.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.07223, allocations: 11.98 kB / 451.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.07261, allocations: 248.9 kB / 451.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.193e-05/0.07268, allocations: 42.47 kB / 451.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.07272, allocations: 12.92 kB / 451.8 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.07273, allocations: 4 kB / 451.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.07277, allocations: 34.56 kB / 451.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.07277, allocations: 0 / 451.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001819/0.07296, allocations: 87.33 kB / 451.9 MB, free: 9.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.07301, allocations: 81.11 kB / 452 MB, free: 9.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.863e-05/0.07306, allocations: 89.86 kB / 452.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.07308, allocations: 29.69 kB / 452.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.07312, allocations: 84.08 kB / 452.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.07314, allocations: 7.906 kB / 452.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.07318, allocations: 13.72 kB / 452.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.07328, allocations: 310.8 kB / 452.5 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.07331, allocations: 16.12 kB / 452.5 MB, free: 8.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.07333, allocations: 7.984 kB / 452.5 MB, free: 8.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.322e-05/0.0734, allocations: 76.27 kB / 452.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.07341, allocations: 0 / 452.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.748e-05/0.07351, allocations: 83.27 kB / 452.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.07355, allocations: 37.7 kB / 452.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.07356, allocations: 0 / 452.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.07357, allocations: 0 / 452.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.254e-05/0.07361, allocations: 96 / 452.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.07362, allocations: 4 kB / 452.7 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.07367, allocations: 7.984 kB / 452.7 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.07369, allocations: 0 / 452.7 MB, free: 8.613 MB / 334.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 8.281e-05/0.07378, allocations: 139.5 kB / 452.9 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.07382, allocations: 3.938 kB / 452.9 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.384e-05/0.07384, allocations: 11.08 kB / 452.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.07385, allocations: 0 / 452.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.07386, allocations: 3.984 kB / 452.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.07387, allocations: 4 kB / 452.9 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.074, allocations: 157.6 kB / 453.1 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.07401, allocations: 4 kB / 453.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.918e-06/0.07402, allocations: 0 / 453.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.07403, allocations: 0 / 453.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.07404, allocations: 4 kB / 453.1 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.07405, allocations: 0 / 453.1 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/0.07406, allocations: 3.938 kB / 453.1 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.0745, allocations: 0.9588 MB / 454 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.07454, allocations: 85 kB / 454.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.07456, allocations: 0 / 454.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.07464, allocations: 7.938 kB / 454.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.07468, allocations: 7.938 kB / 454.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.07469, allocations: 0 / 454.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.339e-05/0.07473, allocations: 83.31 kB / 454.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07474, allocations: 3.938 kB / 454.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.07507, allocations: 7.938 kB / 454.2 MB, free: 6.984 MB / 334.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 8.939e-05/0.07517, allocations: 99.23 kB / 454.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.0753, allocations: 79.39 kB / 454.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.07531, allocations: 0 / 454.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.225e-05/0.07536, allocations: 71.34 kB / 454.5 MB, free: 6.703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.07557, allocations: 4.906 kB / 454.5 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.07584, allocations: 217.5 kB / 454.7 MB, free: 6.441 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.07608, allocations: 0.6768 MB / 455.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.0761, allocations: 11.44 kB / 455.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.07611, allocations: 0 / 455.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of Templates: time 0.001725/0.07784, allocations: 0.5342 MB / 455.9 MB, free: 5.195 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches