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.0008511/0.0008511, allocations: 76.45 kB / 19.94 MB, free: 4.629 MB / 18.57 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.0008373/0.0008373, allocations: 165.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9211/0.9211, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.03954/0.03954, allocations: 10.65 MB / 247.9 MB, free: 4.719 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 371.7 MB, free: 3.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.731e-05, allocations: 2.281 kB / 371.7 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001317/0.001344, allocations: 0.7056 MB / 372.4 MB, free: 2.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001724/0.001516, allocations: 39.78 kB / 372.5 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.001549, allocations: 0 / 372.5 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.001576, allocations: 0 / 372.5 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.815e-05/0.001624, allocations: 3.938 kB / 372.5 MB, free: 2.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.001763, allocations: 7.984 kB / 372.5 MB, free: 2.762 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.821e-05/0.001852, allocations: 19.98 kB / 372.5 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.002032, allocations: 4 kB / 372.5 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.00207, allocations: 8 kB / 372.5 MB, free: 2.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.002129, allocations: 3.984 kB / 372.5 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.002145, allocations: 4 kB / 372.5 MB, free: 2.723 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-06/0.002154, allocations: 0 / 372.5 MB, free: 2.723 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.002171, allocations: 8 kB / 372.5 MB, free: 2.715 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.002202, allocations: 7.938 kB / 372.5 MB, free: 2.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.838e-05/0.00228, allocations: 19.95 kB / 372.6 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002282, allocations: 0 / 372.6 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.002283, allocations: 0 / 372.6 MB, free: 2.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.002287, allocations: 0 / 372.6 MB, free: 2.688 MB / 298.7 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.0002636/0.00255, allocations: 268.2 kB / 372.8 MB, free: 2.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.002591, allocations: 8.031 kB / 372.8 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.002626, allocations: 4.938 kB / 372.8 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.243e-05/0.002689, allocations: 101.8 kB / 372.9 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.0027, allocations: 8.375 kB / 372.9 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.002708, allocations: 384 / 372.9 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.002823, allocations: 75.89 kB / 373 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.002829, allocations: 192 / 373 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.00284, allocations: 384 / 373 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.002846, allocations: 8.312 kB / 373 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.287e-05/0.002889, allocations: 41.62 kB / 373.1 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.003214, allocations: 192.6 kB / 373.3 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.00327, allocations: 52.22 kB / 373.3 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.003306, allocations: 46.61 kB / 373.4 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.003315, allocations: 4 kB / 373.4 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.003485, allocations: 30.56 kB / 373.4 MB, free: 1.719 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.003486, allocations: 0 / 373.4 MB, free: 1.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001847/0.003671, allocations: 142.7 kB / 373.5 MB, free: 1.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.003708, allocations: 77.11 kB / 373.6 MB, free: 1.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.461e-05/0.003732, allocations: 93.86 kB / 373.7 MB, free: 1.359 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.003741, allocations: 25.7 kB / 373.7 MB, free: 1.328 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.003769, allocations: 88.06 kB / 373.8 MB, free: 1.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.003788, allocations: 7.953 kB / 373.8 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.003817, allocations: 17.78 kB / 373.8 MB, free: 1.207 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.003899, allocations: 318.8 kB / 374.1 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/0.00393, allocations: 41.69 kB / 374.2 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.067e-05/0.003951, allocations: 33.7 kB / 374.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.072e-05/0.004001, allocations: 72.27 kB / 374.3 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.004003, allocations: 4 kB / 374.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.91e-05/0.004072, allocations: 101.1 kB / 374.4 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.004099, allocations: 37.69 kB / 374.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.004103, allocations: 0 / 374.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.004114, allocations: 3.938 kB / 374.4 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.004154, allocations: 4.094 kB / 374.4 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.004158, allocations: 4 kB / 374.4 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.004188, allocations: 7.891 kB / 374.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.004197, allocations: 4 kB / 374.5 MB, free: 0.5273 MB / 298.7 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 5.798e-05/0.004255, allocations: 141.5 kB / 374.6 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.004268, allocations: 8 kB / 374.6 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.262e-05/0.00428, allocations: 7.109 kB / 374.6 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.004284, allocations: 7.922 kB / 374.6 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.004287, allocations: 0 / 374.6 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.00429, allocations: 0 / 374.6 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.183e-05/0.004372, allocations: 101.3 kB / 374.7 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.004373, allocations: 3.984 kB / 374.7 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-06/0.00438, allocations: 4 kB / 374.7 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.004381, allocations: 0 / 374.7 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.004389, allocations: 4 kB / 374.7 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.00439, allocations: 0 / 374.7 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.004392, allocations: 3.938 kB / 374.7 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.004741, allocations: 1.009 MB / 375.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-06/0.004747, allocations: 7.938 kB / 375.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.004759, allocations: 7.984 kB / 375.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.167e-05/0.004801, allocations: 4.031 kB / 375.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.004844, allocations: 4 kB / 375.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.004847, allocations: 0 / 375.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.983e-05/0.004867, allocations: 75.28 kB / 375.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004867, allocations: 0 / 375.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.005073, allocations: 4 kB / 375.8 MB, free: 15.02 MB / 314.7 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 7.245e-05/0.005146, allocations: 103.2 kB / 375.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.005266, allocations: 142.7 kB / 376.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005268, allocations: 4.062 kB / 376.1 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.814e-05/0.005306, allocations: 89.11 kB / 376.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.005444, allocations: 7.984 kB / 376.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.005694, allocations: 233.2 kB / 376.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.005738, allocations: 55.36 kB / 376.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.084e-05/0.005749, allocations: 4 kB / 376.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.005767, allocations: 8.5 kB / 376.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.005767, allocations: 0 / 376.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of Templates: time 0.002121/0.007888, allocations: 0.6201 MB / 377.1 MB, free: 13.66 MB / 314.7 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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/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: 3.0338632240891457]