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.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.001507/0.001507, allocations: 79.73 kB / 20.52 MB, free: 1.281 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.001548/0.001548, allocations: 167.9 kB / 23.78 MB, free: 4.453 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.384/1.384, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.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.06445/0.06445, allocations: 10.66 MB / 248.4 MB, free: 8.461 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: translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [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.002319/0.002319, allocations: 71.88 kB / 372.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1163, allocations: 52.88 MB / 425 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00233/0.1187, allocations: 0.7161 MB / 425.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002104/0.1189, allocations: 27.89 kB / 425.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.1189, allocations: 4 kB / 425.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.1189, allocations: 0 / 425.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.247e-05/0.119, allocations: 0 / 425.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.1191, allocations: 11.92 kB / 425.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.1192, allocations: 20 kB / 425.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1193, allocations: 3.984 kB / 425.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.1194, allocations: 8 kB / 425.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.1194, allocations: 4 kB / 425.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1194, allocations: 3.938 kB / 425.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.1194, allocations: 4 kB / 425.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.1195, allocations: 3.984 kB / 425.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.1195, allocations: 15.98 kB / 425.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.175e-05/0.1196, allocations: 7.984 kB / 425.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1196, allocations: 4 kB / 425.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1196, allocations: 0 / 425.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1196, allocations: 0 / 425.8 MB, free: 4.516 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.0003702/0.12, allocations: 268.1 kB / 426.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.12, allocations: 12.03 kB / 426.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.12, allocations: 0.9375 kB / 426.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.57e-05/0.1201, allocations: 102.5 kB / 426.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1201, allocations: 8.312 kB / 426.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.1202, allocations: 4.375 kB / 426.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1203, allocations: 79.88 kB / 426.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1203, allocations: 192 / 426.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1204, allocations: 7.938 kB / 426.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1204, allocations: 0 / 426.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.292e-05/0.1204, allocations: 33.7 kB / 426.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.1209, allocations: 192.6 kB / 426.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.286e-05/0.121, allocations: 52.22 kB / 426.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.498e-05/0.121, allocations: 46.66 kB / 426.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.121, allocations: 7.938 kB / 426.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1211, allocations: 34.56 kB / 426.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.1211, allocations: 0 / 426.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002614/0.1213, allocations: 134.8 kB / 426.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.1214, allocations: 85.09 kB / 426.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.925e-05/0.1214, allocations: 89.86 kB / 427 MB, free: 3.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1214, allocations: 25.7 kB / 427 MB, free: 3.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1215, allocations: 91.97 kB / 427.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.1215, allocations: 11.95 kB / 427.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.1215, allocations: 9.719 kB / 427.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1217, allocations: 319 kB / 427.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.1217, allocations: 37.69 kB / 427.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.1218, allocations: 33.7 kB / 427.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.544e-05/0.1218, allocations: 80.25 kB / 427.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1218, allocations: 0 / 427.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.122, allocations: 109 kB / 427.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.122, allocations: 29.7 kB / 427.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.122, allocations: 0 / 427.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.122, allocations: 0 / 427.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.496e-05/0.1221, allocations: 8.031 kB / 427.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1221, allocations: 4 kB / 427.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.1221, allocations: 0 / 427.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1221, allocations: 4 kB / 427.7 MB, free: 2.359 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 9.666e-05/0.1222, allocations: 143.5 kB / 427.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1222, allocations: 3.938 kB / 427.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.1223, allocations: 7.109 kB / 427.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1223, allocations: 3.938 kB / 427.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1223, allocations: 0 / 427.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1223, allocations: 4 kB / 427.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.1224, allocations: 97.31 kB / 428 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1224, allocations: 4 kB / 428 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.1224, allocations: 4 kB / 428 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1224, allocations: 3.938 kB / 428 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1224, allocations: 0 / 428 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1224, allocations: 4 kB / 428 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1224, allocations: 0 / 428 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.1231, allocations: 1.017 MB / 429 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-06/0.1231, allocations: 0 / 429 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1231, allocations: 4 kB / 429 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.1231, allocations: 8.016 kB / 429 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.1232, allocations: 4 kB / 429 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.1232, allocations: 7.938 kB / 429 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.62e-05/0.1232, allocations: 79.27 kB / 429.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1232, allocations: 0 / 429.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003309/0.1236, allocations: 8 kB / 429.1 MB, free: 0.8359 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.0001206/0.1237, allocations: 99.19 kB / 429.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.1239, allocations: 126.8 kB / 429.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1239, allocations: 0 / 429.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.1239, allocations: 101.2 kB / 429.4 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.1241, allocations: 6.125 kB / 429.4 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.1245, allocations: 233.3 kB / 429.7 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.1245, allocations: 59.34 kB / 429.7 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.109e-05/0.1246, allocations: 0 / 429.7 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.1246, allocations: 8.5 kB / 429.7 MB, free: 100 kB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1246, allocations: 0 / 429.7 MB, free: 100 kB / 350.1 MB Notification: Performance of Templates: time 0.003034/0.1276, allocations: 0.6059 MB / 430.3 MB, free: 15.5 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.548117293044925]